From: Eric Covener Date: Wed, 7 Jun 2017 00:24:31 +0000 (+0000) Subject: remove taint checking from proxy_handler X-Git-Tag: 2.5.0-alpha~381 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a30d71c824af2c292e97ea2307e6aa99f1837d1a;p=apache 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 --- diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index 3ed3b43b89..a0b08788cf 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -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 &&