[Patches] [ python-Patches-712317 ] Bug fix 548176:
urlparse('http://foo?blah') errs
SourceForge.net
noreply at sourceforge.net
Mon Jan 26 20:15:04 EST 2004
Patches item #712317, was opened at 2003-03-30 12:16
Message generated for change (Comment added) made by mrovner
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.
----------------------------------------------------------------------
Comment By: Mike Rovner (mrovner)
Date: 2004-01-26 17:15
Message:
Logged In: YES
user_id=162094
-1. See my comment at http://www.python.org/sf/548176
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=712317&group_id=5470
More information about the Patches
mailing list