Author martin.panter
Recipients benaryorg, martin.panter
Date 2018-05-19.13:49:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526737776.11.0.682650639539.issue33342@psf.upfronthosting.co.za>
In-reply-to
Content
I presume this is about parsing a URL like

>>> urlsplit("//user:[@host")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/proj/python/cpython/Lib/urllib/parse.py", line 431, in urlsplit
    raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL

Ideally the square bracket should be escaped as %5B. Related reports about parsing unescaped delimiters in a URL password are Issue 18140 (fragment #, query ?) and Issue 23328 (slash /).
History
Date User Action Args
2018-05-19 13:49:36martin.pantersetrecipients: + martin.panter, benaryorg
2018-05-19 13:49:36martin.pantersetmessageid: <1526737776.11.0.682650639539.issue33342@psf.upfronthosting.co.za>
2018-05-19 13:49:36martin.panterlinkissue33342 messages
2018-05-19 13:49:36martin.pantercreate