From: Henrik Nordstrom Date: Thu, 27 Aug 2009 09:46:17 +0000 (+0200) Subject: Fix PROXYPASS case when using external acl creds X-Git-Tag: SQUID_3_2_0_1~759^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f024fbfd93c9c7a305fce4d372136535cfcdf897;p=thirdparty%2Fsquid.git Fix PROXYPASS case when using external acl creds --- diff --git a/src/http.cc b/src/http.cc index 8ca5fd67a4..24b3ee8ed5 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1501,7 +1501,7 @@ httpFixupAuthentication(HttpRequest * request, HttpRequest * orig_request, const /* external_acl provided credentials */ if (orig_request->extacl_user.size() && orig_request->extacl_passwd.size() && (strcmp(orig_request->peer_login, "PASS") == 0 || - strcmp(orig_request->peer_login, "PROXYPASS"))) { + strcmp(orig_request->peer_login, "PROXYPASS") == 0)) { char loginbuf[256]; snprintf(loginbuf, sizeof(loginbuf), SQUIDSTRINGPH ":" SQUIDSTRINGPH, SQUIDSTRINGPRINT(orig_request->extacl_user),