diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-25 23:48:47 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-09 20:52:43 -0400 |
| commit | 6cb5285f29247b877e47f256d84bf6313db7b484 (patch) | |
| tree | 1984e0e1c5976e3d89ea8e50bf46363399450555 /django/utils/xmlutils.py | |
| parent | ec0803b1be161afe4db41d152fe6ed11eb6ff69c (diff) | |
[2.1.x] Refs #29784 -- Switched to https:// links where available.
Backport of 82f286cf6f198d37850d3c5df637b5665566a66b from master.
Diffstat (limited to 'django/utils/xmlutils.py')
| -rw-r--r-- | django/utils/xmlutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/xmlutils.py b/django/utils/xmlutils.py index 6b62a1fe74..1a14034243 100644 --- a/django/utils/xmlutils.py +++ b/django/utils/xmlutils.py @@ -24,7 +24,7 @@ class SimplerXMLGenerator(XMLGenerator): def characters(self, content): if content and re.search(r'[\x00-\x08\x0B-\x0C\x0E-\x1F]', content): # Fail loudly when content has control chars (unsupported in XML 1.0) - # See http://www.w3.org/International/questions/qa-controls + # See https://www.w3.org/International/questions/qa-controls raise UnserializableContentError("Control characters are not supported in XML 1.0") XMLGenerator.characters(self, content) |
