John J Lee <[email protected]> added the comment: Mike's list is missing one more character, "%" itself. So, the replacement should be:
quote(newurl, safe="%/:=&?~#+!$,;'@()*[]") The replacement should be done in the .open() method, not in the code that handles redirects. _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue918368> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
