httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=38642





--- Comment #13 from Eric Covener <covener@gmail.com>  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:
> http://213.11.80.10/manual/cgi_path.html
> 
> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message