[issue23150] urllib parse incorrect handing of params

Julian Reschke report at bugs.python.org
Sat Jan 3 09:46:54 CET 2015


Julian Reschke added the comment:

An example URI for this issue is:

  http://example.com/;

The RFC 3986 path component for this URI is "/;".

After using urllib's parse function, how would you know?

(I realize that changing behavior of the existing API may cause problems, but this is an information loss issue). One ugly, but workable way to fix this would be to also provide access to a "RFC3986path" component.

----------

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


More information about the Python-bugs-list mailing list