1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

We are done with this subrequest (before we even got started...) so

dump it early.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89943 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2001-08-06 18:41:31 +00:00
parent 0fcef8e76d
commit dc55b249e6

View File

@@ -786,15 +786,18 @@ static int include_cgi(char *s, request_rec *r, ap_filter_t *next,
apr_bucket *tmp_buck, *tmp2_buck;
if (rr->status != HTTP_OK) {
ap_destroy_sub_req(rr);
return -1;
}
/* No hardwired path info or query allowed */
if ((rr->path_info && rr->path_info[0]) || rr->args) {
ap_destroy_sub_req(rr);
return -1;
}
if (rr->finfo.filetype != APR_REG) {
ap_destroy_sub_req(rr);
return -1;
}