]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #29142: Fix suffixes in no_proxy handling in urllib.
authorXiang Zhang <angwerzx@126.com>
Mon, 9 Jan 2017 03:47:55 +0000 (11:47 +0800)
committerXiang Zhang <angwerzx@126.com>
Mon, 9 Jan 2017 03:47:55 +0000 (11:47 +0800)
commit959ff7f1c6412fe768a29ffe1d355f126dc9e80c
treefcdf0ada43bebc1074162f12683ffed169a701f4
parent8cbd46f19ffa8b1ac7220fcd1c791ab4cade8e10
Issue #29142: Fix suffixes in no_proxy handling in urllib.

In urllib.request, suffixes in no_proxy environment variable with
leading dots could match related hostnames again (e.g. .b.c matches a.b.c).
Patch by Milan Oberkirch.
Lib/test/test_urllib.py
Lib/urllib/request.py
Misc/NEWS