]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 Jan 2020 12:31:44 +0000 (04:31 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Jan 2020 12:31:44 +0000 (04:31 -0800)
commit880a17af7d063fcef225a46b7f4ae35d792b2f11
treee6598baec9ce43259dc88006934828a822d1400e
parent9c145e19fba53369da5cd23a1e71de489836f827
bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)

Ignore leading dots and no longer ignore a trailing newline.
(cherry picked from commit 6a265f0d0c0a4b3b8fecf4275d49187a384167f4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_urllib.py
Lib/urllib/parse.py
Lib/urllib/request.py
Misc/NEWS.d/next/Library/2019-12-15-21-47-54.bpo-39057.FOxn-w.rst [new file with mode: 0644]