diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-08-08 15:09:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 15:09:06 (GMT) |
commit | da4aae29f829fdf288b42919671274d7d463fe04 (patch) | |
tree | b3d9fcfde4bc5bdf0b08ccb7ede0426138fdd13b /Lib/posixpath.py | |
parent | 6d1919009f64981943fa4218e69d0c09c7dbe740 (diff) | |
download | cpython-da4aae29f829fdf288b42919671274d7d463fe04.zip cpython-da4aae29f829fdf288b42919671274d7d463fe04.tar.gz cpython-da4aae29f829fdf288b42919671274d7d463fe04.tar.bz2 |
[3.10] gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650). (GH-95786)
(cherry picked from commit cc9160a29bc3356ced92348bcd8e6668c67167c9)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r-- | Lib/posixpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py index 1953746..526f017 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -352,7 +352,7 @@ def normpath(path): initial_slashes = path.startswith(sep) # POSIX allows one or two initial slashes, but treats three or more # as single slash. - # (see http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13) + # (see https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13) if (initial_slashes and path.startswith(sep*2) and not path.startswith(sep*3)): initial_slashes = 2 |