Message284565
Hi,
the fix for issue 26864 changed the behavior of urllib for no_proxy values with a leading dot to no longer match anything. This seems to be caused by always adding an additional dot between the hostname being checked and the entry.
Example:
no_proxy = '.company.internal'
I would expect 'somehost.company.internal' to be accessed without proxy, but this is not actually the case. Changing no_proxy to company.internal changes this and the host is accessed without proxy.
Python 2.7.11 and curl both handle this case fine and the proxy is not used.
Regards,
Thomas |
|
Date |
User |
Action |
Args |
2017-01-03 14:09:49 | tloetzer | set | recipients:
+ tloetzer |
2017-01-03 14:09:49 | tloetzer | set | messageid: <1483452589.12.0.177615671636.issue29142@psf.upfronthosting.co.za> |
2017-01-03 14:09:49 | tloetzer | link | issue29142 messages |
2017-01-03 14:09:48 | tloetzer | create | |
|