Author Björn.Lindqvist
Recipients Björn.Lindqvist
Date 2016-07-30.19:57:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469908637.82.0.696114480311.issue27657@psf.upfronthosting.co.za>
In-reply-to
Content
This affects both Python 2 and 3. This is as expected:

>>> urlparse('abc:123.html')
ParseResult(scheme='abc', netloc='', path='123.html', params='', query='', fragment='')
>>> urlparse('123.html:abc')
ParseResult(scheme='123.html', netloc='', path='abc', params='', query='', fragment='')
>>> urlparse('abc:123/')
ParseResult(scheme='abc', netloc='', path='123/', params='', query='', fragment='')

This is NOT:

>>> urlparse('abc:123')
ParseResult(scheme='', netloc='', path='abc:123', params='', query='', fragment='')

Expected is path='123' and scheme='abc'. At least according to my reading of the rfc (https://tools.ietf.org/html/rfc1808.html) that is what should happen.
History
Date User Action Args
2016-07-30 19:57:17Björn.Lindqvistsetrecipients: + Björn.Lindqvist
2016-07-30 19:57:17Björn.Lindqvistsetmessageid: <1469908637.82.0.696114480311.issue27657@psf.upfronthosting.co.za>
2016-07-30 19:57:17Björn.Lindqvistlinkissue27657 messages
2016-07-30 19:57:17Björn.Lindqvistcreate