[issue40409] urllib.parse.urlsplit parses schemes that do not begin with letters

2020-04-27 Thread Samani Gikandi
Change by Samani Gikandi : -- keywords: +patch pull_requests: +19063 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19741 ___ Python tracker ___

[issue40409] urllib.parse.urlsplit parses schemes that do not begin with letters

2020-04-27 Thread Samani Gikandi
New submission from Samani Gikandi : RFC 3986 (STD66) says that a URL scheme should begin with an "letter", however urllib.parse.urlsplit (and urlparse) parse strings that don't adhere to this as valid schemes. Example from Python3.8 using "+git+ssh://g...@github.com/user/project.git": >>>