httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Champion <champio...@gmail.com>
Subject Re: 2.4.23 broke an FCGI corner case (Re: [Bug 59815])
Date Mon, 08 Aug 2016 19:20:09 GMT
On 07/08/2016 01:21 PM, Jacob Champion wrote:
> The root cause appears to be (at least to me) that the proxy URL
> canonicalization step does not run when a per-directory rewrite is used.
> Instead, mod_rewrite simply hardcodes r->filename to include the query
> string. With a server-context rewrite, the canonicalization step is
> invoked correctly, which lets mod_proxy_fcgi remove the query string and
> set PATH_INFO.
>
> The question is, why the difference? Is this done on purpose? It's not
> just an FCGI problem; for example, HTTP proxy canonicalization doesn't
> run correctly in per-directory rewrites either. It runs correctly in
> server-context rewrites.

Following up on this... There's a workaround patch that has been 
backported, but I'd still like to know why this is happening. Are there 
any other bugs that can show up if the proxy canonicalization doesn't 
happen?

--Jacob

Mime
View raw message