You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jacob Champion <ch...@gmail.com> on 2016/08/08 19:20:09 UTC

Re: 2.4.23 broke an FCGI corner case (Re: [Bug 59815])

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