Author tloetzer
Recipients tloetzer
Date 2017-01-03.14:09:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483452589.12.0.177615671636.issue29142@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-01-03 14:09:49tloetzersetrecipients: + tloetzer
2017-01-03 14:09:49tloetzersetmessageid: <1483452589.12.0.177615671636.issue29142@psf.upfronthosting.co.za>
2017-01-03 14:09:49tloetzerlinkissue29142 messages
2017-01-03 14:09:48tloetzercreate