Message271702
| 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: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 |
|