mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-26 17:14:42 +00:00
self.url should be normed
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1535 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
16e2048209
commit
fc7b2b4351
1 changed files with 2 additions and 2 deletions
|
|
@ -26,12 +26,12 @@ class ErrorUrl (urlbase.UrlBase):
|
|||
|
||||
def check_syntax (self):
|
||||
linkcheck.log.debug(linkcheck.LOG_CHECK, "checking syntax")
|
||||
self.url = self.base_url
|
||||
self.url = linkcheck.url.url_norm(self.base_url)
|
||||
self.set_result(_("URL is unrecognized or has invalid syntax"),
|
||||
valid=False)
|
||||
return False
|
||||
|
||||
def get_cache_key (self):
|
||||
"""cache key is the url"""
|
||||
return self.base_url
|
||||
return self.url
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue