diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-08-10 10:55:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 10:55:50 (GMT) |
commit | a42215c7e1e5a209b1bfb4cd02b52c7c1999f5cf (patch) | |
tree | 987852b894a10bcf894f2552e04e1a55a6bbb4b9 /Lib/posixpath.py | |
parent | 25d0a81e620538ecad5f67a0b71f7961b45c0ad8 (diff) | |
download | cpython-a42215c7e1e5a209b1bfb4cd02b52c7c1999f5cf.zip cpython-a42215c7e1e5a209b1bfb4cd02b52c7c1999f5cf.tar.gz cpython-a42215c7e1e5a209b1bfb4cd02b52c7c1999f5cf.tar.bz2 |
gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) (GH-95780)
(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 a7b2f2d..5e1ebe3 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -364,7 +364,7 @@ except ImportError: 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 |