Author serhiy.storchaka
Recipients orsenthil, serhiy.storchaka
Date 2014-01-15.12:32:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389789129.93.0.775761654638.issue20271@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import urllib.parse
>>> p = urllib.parse.urlparse('http://[::1]spam:80')
>>> p
ParseResult(scheme='http', netloc='[::1]spam:80', path='', params='', query='', fragment='')
>>> p.hostname
'::1'
>>> p.port
80

'http://[::1]spam:80' is invalid URL, but urllib.parse.urlparse() accepts it and just ignore the spam part.
History
Date User Action Args
2014-01-15 12:32:10serhiy.storchakasetrecipients: + serhiy.storchaka, orsenthil
2014-01-15 12:32:09serhiy.storchakasetmessageid: <1389789129.93.0.775761654638.issue20271@psf.upfronthosting.co.za>
2014-01-15 12:32:09serhiy.storchakalinkissue20271 messages
2014-01-15 12:32:09serhiy.storchakacreate