| Age | Commit message (Collapse) | Author |
|
`SimplerXMLGenerator` already rejected control characters (unsupported
in XML 1.0) in element content, but attribute values were written
unchecked, so unsanitized input could still produce an unparseable
XML document. The existing check now runs over attribute values in
`startElement()`. This covers both syndication feeds, where item data
may flow into attributes such as `Atom` category terms, and the XML
serializer, which wraps the error to identify the offending object.
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
|
|
Dicts preserve order since Python 3.6.
|
|
|
|
ordered attributes.
|
|
unserializable chars
Thanks Tim Graham for the review.
|
|
|
|
|
|
waiting to happen and are memory leaks too).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|