John Nagle wrote:
> Here's a hostile URL that "urlparse.urlparse" seems to have mis-parsed.
...
Simpler example:

import urlparse
s = 'http://www.example.com.mx?https://www.example.com'
print urlparse.urlparse(s)

produces
('http', 'www.example.com.mx?https:', '//www.example.com', '', '', '')

which is wrong.

                                John Nagle
                                SiteTruth
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to