[Patches] [ python-Patches-1648102 ] proxy_bypass in urllib handling of <local> macro
SourceForge.net
noreply at sourceforge.net
Tue Jan 30 19:14:06 CET 2007
Patches item #1648102, was opened at 2007-01-30 11:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1648102&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Anthony Tuininga (atuining)
Assigned to: Nobody/Anonymous (nobody)
Summary: proxy_bypass in urllib handling of <local> macro
Initial Comment:
We have discovered that the handling of the <local> macro in urllib.proxy_bypass is broken. According to the Microsoft documentation for this macro, what should be checked is simply that the host name specified does not contain a period. Since urllib gets its proxy information directly from the Windows registry it would make sense to use the same definitions that Microsoft does. Attached is a patch that does this.
Here is a link to the documentation that specifies this:
http://msdn2.microsoft.com/en-gb/library/aa384098.aspx
Note the section discussing the proxy bypass parameter.
In addition, this patch adds code to strip the entries in the proxy bypass settings of any leading and trailing spaces. Internet Explorer supports this although it does not appear to be officially documented.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1648102&group_id=5470
More information about the Patches
mailing list