[issue3300] urllib.quote and unquote - Unicode issues

Bill Janssen report at bugs.python.org
Fri Aug 8 04:04:33 CEST 2008


Bill Janssen <bill.janssen at gmail.com> added the comment:

Looks like the failing test in test_http_cookiejar is just a bad test;
it attempts to build an HTTP request object from an invalid URL, yet
still seem to expect to be able to extract a cookie from the response
headers for that request.  I'd expect some exception to be thrown.

So this probably indicates a bug in urllib.parse:

urllib.parse.urlparse("http://www.acme.com/foo%2f%25/<<%0anew\345/\346\370\345")


should throw an exception somewhere.

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


More information about the Python-bugs-list mailing list