Message358444
There are several issues with urllib.request.proxy_bypass_environment:
1. Leading dots are ignored in the proxy list, but not in the checked hostname. So ".localhost" does not matches ".localhost" in the proxy list.
2. A single trailing \n in the checked hostname is ignored, so "localhost\n" passes the check if the proxy list contains "localhost". But "localhost\n\n" and "localhost " do not pass. This is an artifact of using $ in the regular expression. |
|
Date |
User |
Action |
Args |
2019-12-15 19:45:57 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, orsenthil |
2019-12-15 19:45:57 | serhiy.storchaka | set | messageid: <1576439157.59.0.210686585011.issue39057@roundup.psfhosted.org> |
2019-12-15 19:45:57 | serhiy.storchaka | link | issue39057 messages |
2019-12-15 19:45:57 | serhiy.storchaka | create | |
|