From 03ecff22bb2146895507ddceb2e2d84e848093a3 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sat, 22 Sep 2012 22:21:10 +0200 Subject: [PATCH] Fix endless loop in http authentication. --- linkcheck/checker/httpurl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linkcheck/checker/httpurl.py b/linkcheck/checker/httpurl.py index 2c1fb57d..8ac83251 100644 --- a/linkcheck/checker/httpurl.py +++ b/linkcheck/checker/httpurl.py @@ -248,7 +248,8 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport): return response if not self.auth: self.construct_auth() - continue + if self.auth: + continue break return response