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.

Author martin.panter
Recipients benaryorg, martin.panter
Date 2018-05-19.13:49:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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/", 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 /).
Date User Action Args
2018-05-19 13:49:36martin.pantersetrecipients: + martin.panter, benaryorg
2018-05-19 13:49:36martin.pantersetmessageid: <>
2018-05-19 13:49:36martin.panterlinkissue33342 messages
2018-05-19 13:49:36martin.pantercreate