tools/web: colon char in URL precedes optional //
This commit is contained in:
parent
55e6550cb1
commit
fd99deed1d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def isURL(url):
|
||||||
|
|
||||||
def _getNormalizedURL(url):
|
def _getNormalizedURL(url):
|
||||||
"""Return a light normalized form for the given URL"""
|
"""Return a light normalized form for the given URL"""
|
||||||
return url if "//" in url else "//" + url
|
return url if "//" in url or ":" in url else "//" + url
|
||||||
|
|
||||||
def getNormalizedURL(url):
|
def getNormalizedURL(url):
|
||||||
"""Return a normalized form for the given URL"""
|
"""Return a normalized form for the given URL"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue