philfr added the comment:

May I suggest replacing the 

     path = urlparse.urlparse(path)[2]

line with the following two:

     path = path.split('?',1)[0]
     path = path.split('#',1)[0]

thereby handling parameters as well as fragments.

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1224>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to