mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-09 23:24:44 +00:00
coerce to unicode after relative file handling
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2839 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
e1192c078f
commit
65150ad79e
1 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,8 @@ class FileUrl (urlbase.UrlBase):
|
|||
base_url = re.sub("^file://(/?)([a-zA-Z]):", r"file:///\2|", base_url)
|
||||
# norm base url again after changing
|
||||
if self.base_url != base_url:
|
||||
self.base_url, is_idn = linkcheck.url.url_norm(base_url)
|
||||
base_url, is_idn = linkcheck.url.url_norm(base_url)
|
||||
self.base_url = unicode(base_url)
|
||||
|
||||
def build_url (self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue