HTTP GET requests with parameters ("?" and something after it) don't
work with mod_auth_digest of Apache 2.0 (I'm using CVS snapshot
httpd-2.0_20020323210000.tar.gz).
It seems that the cause is PR#7063.
With basic auth, everything works flawlessly, and the only problem is
with digest.
>From looking at the source, it seems simple to resolve (please commit
it):
---------------------------------------------------------------------
--- modules/aaa/mod_auth_digest.bug Mon Mar 25 06:37:39 2002
+++ modules/aaa/mod_auth_digest.c Mon Mar 25 06:38:19 2002
@@ -1771,10 +1771,12 @@
/* 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'))
+#ifdef BUGGY_DIGEST
/* 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, 0, r,
"Digest: uri mismatch - <%s> does not match "
---------------------------------------------------------------------
Thanks,
--
Eli Marmor
[EMAIL PROTECTED]
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
__________________________________________________________
Tel.: +972-9-766-1020 8 Yad-Harutzim St.
Fax.: +972-9-766-1314 P.O.B. 7004
Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel