From a30d71c824af2c292e97ea2307e6aa99f1837d1a Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Wed, 7 Jun 2017 00:24:31 +0000 Subject: [PATCH] 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 --- modules/proxy/mod_proxy.c | 7 ------- 1 file changed, 7 deletions(-) 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 && -- 2.50.1