urllib checks IE settings for proxy but ignores useful 'ProxyOverride' key
Wolfgang Strobl
ws at mystrobl.de
Wed Dec 26 04:31:06 EST 2001
More information about the Python-list mailing list
Wed Dec 26 04:31:06 EST 2001
- Previous message (by thread): How do I access DoS thru Python?
- Next message (by thread): urllib checks IE settings for proxy but ignores useful 'ProxyOverride' key
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 25 Dec 2001 20:45:24 -0800, abulka at netspace.net.au (Andy Bulka) wrote : >It seems that urllib.py has the smarts to look up the proxy settings >in the windows registry settings that you control via the IE browser. >It checks the keys 'ProxyEnable' and 'ProxyServer' (to get the actual >proxy host/port value). > >But urllib.py does NOT have the smarts to check the key >'ProxyOverride' which has a range of tcp ip addresses to NOT use >proxies on, as well as whether to bypass proxies for local addresses >(the value of the key 'ProxyOverride' contains '<local>' if this >option is turned on). > >Surely this is an important omission and should be introduced into the >next version of python? Well, after adding ProxyOverride support myself, a few weeks ago, I noticed that a similar fix could have been found in the CVS repository, already, since August :-) It has been added in 1.129. See http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/dist/src/Lib/urllib.py.diff?r1=1.128&r2=1.129 resp. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/dist/src/Lib/urllib.py -- Wir danken für die Beachtung aller Sicherheitsbestimmungen
- Previous message (by thread): How do I access DoS thru Python?
- Next message (by thread): urllib checks IE settings for proxy but ignores useful 'ProxyOverride' key
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list