Message334043
| Author |
martin.panter |
| Recipients |
christian.heimes, martin.panter, nsonaniya2010, orsenthil, steven.daprano, xtreak |
| Date |
2019年01月19日.07:09:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1547881758.9.0.617798565977.issue35748@roundup.psfhosted.org> |
| In-reply-to |
| Content |
The "urllib.parse" module generally follows RFC 3986, which does not allow a literal backslash in the "userinfo" part:
userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
pct-encoded = "%" HEXDIG HEXDIG
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
The RFC does not allow a backslash in the host name, path, query or fragment either. That is why I said the URL is not valid. |
|