diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c index db44e98d2d..12801f94ce 100644 --- a/modules/generators/mod_status.c +++ b/modules/generators/mod_status.c @@ -213,13 +213,6 @@ static int status_handler(request_rec *r) return DECLINED; } - /* A request that has passed through .htaccess has no business - * landing up here. - */ - if (ap_request_tainted(r, AP_TAINT_HTACCESS)) { - return DECLINED; - } - #ifdef HAVE_TIMES times_per_thread = getpid() != child_pid; #endif diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index b8281e0b54..3ed3b43b89 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -932,14 +932,6 @@ static int proxy_fixup(request_rec *r) if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0) return DECLINED; - /* A request that has passed through .htaccess has no business - * serving contents from so far outside its directory. - * Since we're going to decline it, don't waste time here. - */ - if (ap_request_tainted(r, AP_TAINT_HTACCESS)) { - return DECLINED; - } - /* XXX: Shouldn't we try this before we run the proxy_walk? */ url = &r->filename[6];