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:
calvin 2004-08-27 12:47:29 +00:00
parent 16e2048209
commit fc7b2b4351

View file

@ -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