From 463a45ccafd3ceb6fefffa2a2375615bf64569ec Mon Sep 17 00:00:00 2001 From: David Maloney Date: Tue, 5 Feb 2013 09:57:33 -0600 Subject: [PATCH] if we don't support the auth return original res make sure we return the original 401 if we don't support the auth. --- lib/rex/proto/http/client.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rex/proto/http/client.rb b/lib/rex/proto/http/client.rb index c06de1884e..771230edd8 100644 --- a/lib/rex/proto/http/client.rb +++ b/lib/rex/proto/http/client.rb @@ -431,6 +431,7 @@ class Client end return res end + return res end def basic_auth_header(username,password)