[issue29142] urllib: no_proxy variable values with leading dot not properly handled

Milan Oberkirch report at bugs.python.org
Sun Jan 8 03:15:04 EST 2017


Milan Oberkirch added the comment:

Thanks for the feedback!

I changed the patch to use lstrip so that the FQDN "example.com." would match the NOPROXY entry "example.com.". I don't think we get FQDNs, but that's just my guess.

I think ideally "example.com" would also match "example.com." but that's a different issue.

----------
Added file: http://bugs.python.org/file46207/ignore_dots-v3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29142>
_______________________________________


More information about the Python-bugs-list mailing list