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 Tue, 25 Nov 2008 22:04:42 GMT

--- Comment #18 from Aleksander Budzynowski <>  2008-11-25 14:04:41
PST ---
> for something that could be relied on by any number of .htaccess files for such
> a long span of time.

I doubt many .htaccess rely on [that is, work-around] current behaviour,
-The behaviour differs from httpd.conf behaviour,
-is undocumented, and
-when I posted about this to the (English) Apache users mailing list, nobody
knew about the issue.

> As I wrote – rush.  :-) I think most calls were made in sections which are
> touched by the fix-up hook (i.e. directory context) only. May be a check for
> path_info != NULL would be better.

Hmm, you're right for the most part. I was thinking you should have done:

if (perdir != NULL && apr_table_get(r->notes,"substapplied") &&

instead of
if (apr_table_get(r->notes,"substapplied") && perdir != NULL &&

except the latest code is structured a bit differently (the whole block already
has a perdir check) so this is irrelevant.

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