summaryrefslogtreecommitdiff
path: root/django/utils/html.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-25 23:48:47 -0700
committerClaude Paroz <claude@2xlibre.net>2018-09-26 08:48:47 +0200
commit82f286cf6f198d37850d3c5df637b5665566a66b (patch)
treebf8d7b8d45ee9bcf033ecbd35d73f98f3f58d87e /django/utils/html.py
parentd1d5c97bc2821bf8c0f4b2d9c7ab16200845b494 (diff)
Refs #29784 -- Switched to https:// links where available.
Diffstat (limited to 'django/utils/html.py')
-rw-r--r--django/utils/html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/html.py b/django/utils/html.py
index 72719cdd2d..b230c5faec 100644
--- a/django/utils/html.py
+++ b/django/utils/html.py
@@ -204,8 +204,8 @@ def smart_urlquote(url):
def unquote_quote(segment):
segment = unquote(segment)
# Tilde is part of RFC3986 Unreserved Characters
- # http://tools.ietf.org/html/rfc3986#section-2.3
- # See also http://bugs.python.org/issue16285
+ # https://tools.ietf.org/html/rfc3986#section-2.3
+ # See also https://bugs.python.org/issue16285
return quote(segment, safe=RFC3986_SUBDELIMS + RFC3986_GENDELIMS + '~')
# Handle IDN before quoting.