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

remove taint checking from proxy_handler

rewrite tests with P flag in htaccess broken since r1792169


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1797843 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2017-06-07 00:24:31 +00:00
parent 7a36c0fbfa
commit a30d71c824

View File

@@ -1025,13 +1025,6 @@ static int proxy_handler(request_rec *r)
return DECLINED;
}
/* A request that has passed through .htaccess has no business
* serving contents from so far outside its directory.
*/
if (ap_request_tainted(r, AP_TAINT_HTACCESS)) {
return DECLINED;
}
if (!r->proxyreq) {
/* We may have forced the proxy handler via config or .htaccess */
if (r->handler &&