From 6cb5285f29247b877e47f256d84bf6313db7b484 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 25 Sep 2018 23:48:47 -0700 Subject: [2.1.x] Refs #29784 -- Switched to https:// links where available. Backport of 82f286cf6f198d37850d3c5df637b5665566a66b from master. --- django/utils/xmlutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/utils/xmlutils.py') 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) -- cgit v1.3