[issue11398] http_proxy on windows won't function due to incorrect case handling

Amaury Forgeot d'Arc report at bugs.python.org
Sat Mar 5 00:38:01 CET 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

hmm, the code of urllib.request.getproxies_environment contains::
    for name, value in os.environ.items():
        name = name.lower()
        if value and name[-6:] == '_proxy':
            proxies[name[:-6]] = value  
So the comparison is effectively case-insensitive.
What is the problem exactly?

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list