]> granicus.if.org Git - python/commit
Fix parsing of parameters from a URL; urlparse() did not check that it only
authorFred Drake <fdrake@acm.org>
Fri, 16 Nov 2001 02:52:57 +0000 (02:52 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 16 Nov 2001 02:52:57 +0000 (02:52 +0000)
commit5751a22ede6a1c40f3926439e6c8368889f9b8d2
treedc84cdb3e0f8ada74f992a78bb98294c30ca350d
parentc66ff203bb02a56f813399403445730a14d8c045
Fix parsing of parameters from a URL; urlparse() did not check that it only
split parameters from the last path segment.  Introduces two new functions,
urlsplit() and urlunsplit(), that do the simpler job of splitting the URL
without monkeying around with the parameters field, since that was not being
handled properly.
This closes bug #478038.
Lib/urlparse.py