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
committerTim Graham <timograham@gmail.com>2018-10-09 20:52:43 -0400
commit6cb5285f29247b877e47f256d84bf6313db7b484 (patch)
tree1984e0e1c5976e3d89ea8e50bf46363399450555 /django/utils/html.py
parentec0803b1be161afe4db41d152fe6ed11eb6ff69c (diff)
[2.1.x] Refs #29784 -- Switched to https:// links where available.
Backport of 82f286cf6f198d37850d3c5df637b5665566a66b from master.
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 c5035e3b23..5dd67fd151 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.