always norm a URL before sending a request

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2653 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-06-12 21:16:47 +00:00
parent eba33c61e6
commit cc0f7cb113

View file

@ -329,6 +329,8 @@ class UrlBase (object):
self.url = urljoin(self.parent_url, base_url, self.scheme)
else:
self.url = base_url
# note: urljoin can unnorm the url, so norm the url
self.url, is_idn = linkcheck.url.url_norm(self.url)
# split into (modifiable) list
self.urlparts = linkcheck.strformat.url_unicode_split(self.url)
# and unsplit again