mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-22 15:14:44 +00:00
norm changed base url again
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1945 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
85497ca439
commit
2be584891b
1 changed files with 2 additions and 0 deletions
|
|
@ -81,6 +81,8 @@ class FileUrl (urlbase.UrlBase):
|
|||
# transform c:/windows into /c|/windows
|
||||
self.base_url = re.sub(r"^file://(/?)([a-zA-Z]):", r"file:///\2|",
|
||||
self.base_url)
|
||||
# norm base url again after changing
|
||||
self.base_url = linkcheck.url.url_norm(self.base_url)
|
||||
|
||||
def build_url (self):
|
||||
super(FileUrl, self).build_url()
|
||||
|
|
|
|||
Loading…
Reference in a new issue