➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 martin.panter
收信人 martin.panter, nsonaniya2010, orsenthil
日期 2019-01-16.10:01:37
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1547632897.49.0.33726596936.issue35748@roundup.psfhosted.org>
In-reply-to
内容
FWIW I understand the backslash should be percent-encoded in URLs, otherwise the URL is not valid.

This reminds me of a few other bugs:

* Issue 30500: Made the behaviour of fragment (#. . .) versus userinfo (. . .@) consistent, e.g. in //www.google.com#@xxx.com
* Issue 18140: Also about the ambiguity of fragment (#. . .) and query (?. . .) versus userinfo (. . .@)
* Issue 23328: Precedence of path segment (/. . .) versus userinfo (. . .@); e.g. //user/name:pass/word@www.google.com

I think people some times come up with these invalid URLs because they are trying to make a URL that includes a password with unusual characters (e.g. for the “http_proxy” environment variable). So raising an exception or otherwise changing the parsing behaviour could break those cases.
历史
日期 用户 动作 参数
2019-01-16 10:01:39martin.panter修改recipients: + martin.panter, orsenthil, nsonaniya2010
2019-01-16 10:01:37martin.panter修改messageid: <1547632897.49.0.33726596936.issue35748@roundup.psfhosted.org>
2019-01-16 10:01:37martin.panter链接issue35748 messages
2019-01-16 10:01:37martin.panter创建