You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/03/01 21:44:20 UTC
cvs commit: httpd-2.0/modules/generators mod_autoindex.c
wrowe 02/03/01 12:44:20
Modified: modules/generators mod_autoindex.c
Log:
next_filter of NULL to any ap_sub_req_lookup*() fn implies the subreq
will never be run - or we expect to pass the subreq to fast_redirect.
The comming fix will break invalid ap_sub_req_lookups* expecting to
run subrequests with the next_filter NULL semantic.
Revision Changes Path
1.98 +2 -2 httpd-2.0/modules/generators/mod_autoindex.c
Index: mod_autoindex.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- mod_autoindex.c 7 Feb 2002 06:50:52 -0000 1.97
+++ mod_autoindex.c 1 Mar 2002 20:44:20 -0000 1.98
@@ -1005,7 +1005,7 @@
}
if ((header_fname != NULL)
- && (rr = ap_sub_req_lookup_uri(header_fname , r, NULL))
+ && (rr = ap_sub_req_lookup_uri(header_fname, r, r->output_filters))
&& (rr->status == HTTP_OK)
&& (rr->filename != NULL)
&& (rr->finfo.filetype == APR_REG)) {
@@ -1099,7 +1099,7 @@
* pretend there's nothing there.
*/
if ((readme_fname != NULL)
- && (rr = ap_sub_req_lookup_uri(readme_fname, r, NULL))
+ && (rr = ap_sub_req_lookup_uri(readme_fname, r, r->output_filters))
&& (rr->status == HTTP_OK)
&& (rr->filename != NULL)
&& rr->finfo.filetype == APR_REG) {