mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-20 06:10:59 +00:00
fix extern calculation and a typo
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2619 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
f6f04e376e
commit
1fc5eb32b6
1 changed files with 3 additions and 3 deletions
|
|
@ -285,8 +285,8 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
|
|||
linkcheck.log.debug(linkcheck.LOG_CHECK, "Norm redirected to %r",
|
||||
redirected)
|
||||
# check extern filter again
|
||||
self.extern = self._get_extern(redirected)
|
||||
if self.is_extern():
|
||||
extern = self.get_extern(redirected)
|
||||
if extern[0] and extern[0]:
|
||||
self.add_info(
|
||||
_("Outside of domain filter, checked only syntax."))
|
||||
self.set_result(u"filtered")
|
||||
|
|
@ -320,7 +320,7 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
|
|||
" should update this link."))
|
||||
self.has301status = True
|
||||
# check cache again on the changed URL
|
||||
if self.consumer.cache.checked_redirect(redirected, self):
|
||||
if self.consumer.checked_redirect(redirected, self):
|
||||
return -1, response
|
||||
# check if we still have a http url, it could be another
|
||||
# scheme, eg https or news
|
||||
|
|
|
|||
Loading…
Reference in a new issue