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/html.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/html.py')
| -rw-r--r-- | django/utils/html.py | 4 |
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. |
