summaryrefslogtreecommitdiff
path: root/django/utils/xmlutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/xmlutils.py')
-rw-r--r--django/utils/xmlutils.py2
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)