]> 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:32:00 +0000 (04:32 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Jan 2020 12:32:00 +0000 (04:32 -0800)
commitfc84d501b9d77701cbdd485de45e200bf027c0e9
tree501fa349675e74a5b18d6d3b176a8e7a322cecd0
parent859525590c7aad210ae5f2557140a52033c498cd
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]