httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 38642] mod_rewrite adds path info postfix after a substitution occured
Date Sun, 23 Nov 2008 22:12:55 GMT

--- Comment #13 from Eric Covener <>  2008-11-23 14:12:55 PST ---
(In reply to comment #12)
> >> I am leaning towards whacking r->path_info as soon as we know we've effectively
made it useless by replacing r->filename in per-directory context, rather then thinking
harder about when we should spill r->path_info into ctx->uri by saving info away in
some previous step.
> That's exactly what I thought at first. But then I found this:
> And I quote: "Apache 1.2 and later now determine SCRIPT_NAME and PATH_INFO by
> looking directly at the URL"
> So maybe it's not such a good idea.

I thought that since this is per-directory, PT-like behavior is implied so
whenever we change the filename and re-inject into apache, so PATH_INFO is very
soon to be "fixed" by the core.

The only time it lasts longer is when we have another rule or two to look at
before re-injecting.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message