httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25040] - digest auth doesn't play well with subrequests
Date Wed, 14 Jan 2004 14:18:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25040>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25040

digest auth doesn't play well with subrequests





------- Additional Comments From jpd@indecisive.com  2004-01-14 14:18 -------
My subversion server already had a modified mod_auth_digest, so I went digging.
It looks like the subreq is already using fields of the main request to check the
digest, with one exception -- digest_header_rec does not have a method field.
When I get these authentication failures, the subreq method doesn't match the main
req's method.  I added that field, set it to r->method in
parse_hdr_and_update_nc(), and modified old_digest() and new_digest() to use
resp->method instead of r->method, and that fixed the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message