Commit 9e94afd1 authored by Fred Drake's avatar Fred Drake

Fix bug #314, reported by Craig Allen <cba@mediaone.net>:

splittype():  Always lower-case the URL scheme; these are supposed to be
               normalized according to RFC 1738 anyway.
parent 162bd855
......@@ -848,7 +848,7 @@ def splittype(url):
match = _typeprog.match(url)
if match:
scheme = match.group(1)
return scheme, url[len(scheme) + 1:]
return scheme.lower(), url[len(scheme) + 1:]
return None, url
_hostprog = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment