]> granicus.if.org Git - apache/commitdiff
remove taint checking from proxy_handler
authorEric Covener <covener@apache.org>
Wed, 7 Jun 2017 00:24:31 +0000 (00:24 +0000)
committerEric Covener <covener@apache.org>
Wed, 7 Jun 2017 00:24:31 +0000 (00:24 +0000)
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

index 3ed3b43b8906c09fcf791b830d93af0ecc99e811..a0b08788cf094b9133b328d6423702fed1092be7 100644 (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 &&