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 Tue, 25 Nov 2008 22:04:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=38642





--- Comment #18 from Aleksander Budzynowski <budzynowski@gmail.com>  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,
because:
-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: 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