summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2013-02-12 16:02:05 -0700
committerCarl Meyer <carl@oddbird.net>2013-02-19 10:39:04 -0700
commit84ce990c0790c61230e2c6dca6768f91e67b3ee6 (patch)
treebcf47c522feb0b1d3b42301678d127a10dfd8b3f
parent3ef4bbf495cc6c061789132e3d50a8231a89406b (diff)
[1.5.x] Update 1.5 release notes for XML and formset fixes.
-rw-r--r--docs/releases/1.5.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt
index 63f9758762..73986d226f 100644
--- a/docs/releases/1.5.txt
+++ b/docs/releases/1.5.txt
@@ -628,6 +628,25 @@ your routers allow synchronizing content types and permissions to only one of
them. See the docs on the :ref:`behavior of contrib apps with multiple
databases <contrib_app_multiple_databases>` for more information.
+XML deserializer will not parse documents with a DTD
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+In order to prevent exposure to denial-of-service attacks related to external
+entity references and entity expansion, the XML model deserializer now refuses
+to parse XML documents containing a DTD (DOCTYPE definition). Since the XML
+serializer does not output a DTD, this will not impact typical usage, only
+cases where custom-created XML documents are passed to Django's model
+deserializer.
+
+Formsets default ``max_num``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+A (default) value of ``None`` for the ``max_num`` argument to a formset factory
+no longer defaults to allowing any number of forms in the formset. Instead, in
+order to prevent memory-exhaustion attacks, it now defaults to a limit of 1000
+forms. This limit can be raised by explicitly setting a higher value for
+``max_num``.
+
Miscellaneous
~~~~~~~~~~~~~