[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

Wes Chow report at bugs.python.org
Sat Nov 20 20:18:31 CET 2010


Wes Chow <wes.chow at gmail.com> added the comment:

Here's a patch for 3.2 which fixes this problem I believe. There does exist a test case that should have produced an error, except that the last path segment in RFC3986_BASE is only one character long. Had it been more than one character long, RFC3986 checks would have failed.

Also in the supplied patch is a test to catch this specific bug.

----------
nosy: +weschow
Added file: http://bugs.python.org/file19695/urlparse-9721.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9721>
_______________________________________


More information about the Python-bugs-list mailing list