From: Henrik Nordstrom Date: Sun, 14 Feb 2010 18:10:45 +0000 (+0100) Subject: Require URI field X-Git-Tag: SQUID_3_2_0_1~386^2~7 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6649f9557d99d56218ce0b9e8dd781b67f810e62;p=thirdparty%2Fsquid.git Require URI field --- diff --git a/src/auth/digest/auth_digest.cc b/src/auth/digest/auth_digest.cc index e3a096db90..9d29d0de9c 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -1254,7 +1254,11 @@ AuthDigestConfig::decode(char const *proxy_auth) } /* we can't check the URI just yet. We'll check it in the - * authenticate phase */ + * authenticate phase, but needs to be given */ + if (!digest_request->uri) { + debugs(29, 4, "authenticateDigestDecode: Missing URI field"); + return authDigestLogUsername(username, digest_request); + } /* is the response the correct length? */