summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2003-10-08 14:10:53 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2003-10-08 14:10:53 +0000
commit04dfd58b33ba644f0f3e0152d766858c677dfdac (patch)
tree050aabd46c808e74f653b4efb65a008c34e913d2
parent3f433ec6540d8e98e87668df9241c189e3b3a280 (diff)
ugly hack to fix digest authentication for ie, safari et al. FreeBSD PR#55401.
ok henning@
-rw-r--r--usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c b/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c
index 54b1db8ebde..db8735fd9d2 100644
--- a/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c
+++ b/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c
@@ -1635,10 +1635,12 @@ static int authenticate_digest_user(request_rec *r)
/* or '*' matches empty path in scheme://host */
&& !(d_uri.path && !r_uri.path && resp->psd_request_uri->hostname
&& d_uri.path[0] == '*' && d_uri.path[1] == '\0'))
+#if 0
/* check that query matches */
|| (d_uri.query != r_uri.query
&& (!d_uri.query || !r_uri.query
|| strcmp(d_uri.query, r_uri.query)))
+#endif
) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
"Digest: uri mismatch - <%s> does not match "