Merge branch 'master' of github.com:wummel/linkchecker

This commit is contained in:
Bastian Kleineidam 2014-07-01 21:11:33 +02:00
commit 9a124513e3

View file

@ -252,6 +252,11 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
self.aliases.append(newurl)
# XXX on redirect errors this is not printed
self.add_info(_("Redirected to `%(url)s'.") % {'url': newurl})
# Reset extern and recalculate
self.extern = None
self.set_extern(newurl)
self.urlparts = strformat.url_unicode_split(newurl)
self.build_url_parts()
self.url_connection = response