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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user