[issue14072] urlparse on tel: URI-s misses the scheme in some cases
Ezio Melotti
report at bugs.python.org
Mon May 7 18:49:45 CEST 2012
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
> In the patch I'm assuming that the port number can only contain ascii digits
RFC 3986 [0] defines the port as
port = *DIGIT
and part of the "authority" [1] as
authority = [ userinfo "@" ] host [ ":" port ]
userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
host = IP-literal / IPv4address / reg-name
port = *DIGIT
so my assumption should be correct.
[0]: http://tools.ietf.org/html/rfc3986#section-3.2.3
[1]: http://tools.ietf.org/html/rfc3986#appendix-A
----------
stage: patch review -> commit review
versions: +Python 3.2, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14072>
_______________________________________
More information about the Python-bugs-list
mailing list