[issue23328] urllib2 fails for proxy credentials that contain a '/' character

Panagiotis Issaris report at bugs.python.org
Mon Feb 9 21:19:54 CET 2015


Panagiotis Issaris added the comment:

RFC3986 seems to state that a '/' character should be encoded:

"""...
reserved    = gen-delims / sub-delims
gen-delims  = ":" / "/" / "?" / "#" / "[" / "]" / "@"
sub-delims  = "!" / "$" / "&" / "'" / "(" / ")"
                  / "*" / "+" / "," / ";" / "="
...
The user information, if present, is followed by a
commercial at-sign ("@") that delimits it from the host.
userinfo    = *( unreserved / pct-encoded / sub-delims / ":" )
"""

----------
nosy: +Panagiotis.Issaris

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


More information about the Python-bugs-list mailing list