[Patches] [ python-Patches-712317 ] Bug fix 548176: urlparse('http://foo?blah') errs

SourceForge.net noreply@sourceforge.net
Sun, 30 Mar 2003 12:16:56 -0800


Patches item #712317, was opened at 2003-03-30 13:16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=712317&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Steven Taschuk (staschuk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug fix 548176: urlparse('http://foo?blah') errs

Initial Comment:
For detailed description of the problem, see
    http://www.python.org/sf/548176
In summary, URLs such as
    http://www.example.com?query=spam
are misparsed by urlparse.urlparse, which decides that 
everything after the '//' is the host name.  This is contrary to 
RFC 2396 and probably contrary to the intent of RFC 1738.

The patch corrects the problem, adds a test to expose it, 
and rearranges some of the tests to better exercise the 
code in question.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=712317&group_id=5470