From cc9160a29bc3356ced92348bcd8e6668c67167c9 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 8 Aug 2022 14:00:17 +0300 Subject: gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) --- Lib/posixpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/posixpath.py') diff --git a/Lib/posixpath.py b/Lib/posixpath.py index a7b2f2d6482..5e1ebe3293d 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 -- cgit v1.2.3