Message271702
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. |
|
Date |
User |
Action |
Args |
2016-07-30 19:57:17 | Björn.Lindqvist | set | recipients:
+ Björn.Lindqvist |
2016-07-30 19:57:17 | Björn.Lindqvist | set | messageid: <1469908637.82.0.696114480311.issue27657@psf.upfronthosting.co.za> |
2016-07-30 19:57:17 | Björn.Lindqvist | link | issue27657 messages |
2016-07-30 19:57:17 | Björn.Lindqvist | create | |
|