httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 44922] RewriteRules in .htaccess erroneously inject PATH_INFO
Date Sat, 02 Aug 2008 07:43:52 GMT

--- Comment #1 from Aleksander Budzynowski <>  2008-08-02 00:43:51
PST ---

I know this problem is a bit tricky to get one's head around, but after three
months I think it's time to make some noise again.

I think the reason this bug wasn't reported ages ago is because people simply
attribute it to the mysteries of mod_rewrite. But this behaviour is beyond
mysterious - it's illogical and totally undocumented, and I'm certain that this
behaviour was not intended by those who designed mod_rewrite.

Also, the problem only affects .htaccess files. And the people in the best
position to spot and report the problem (that is, people who have a decent
understanding of mod_rewrite) tend to have access to httpd.conf, and avoid
.htaccess files, and so won't notice anyway.

I really don't see any way to USE this behaviour, so correcting it shouldn't
break any existing installations. It might break any workarounds that are in
place (although if people were aware of the bug one hopes they would report

Fixing this bug would, I believe, significantly narrow the divide between
httpd.conf and .htaccess.

I'm willing to work on a fix for this myself but I really would like someone
else to at least confirm the bug. It should not be hard to reproduce my

A slight correction to the problem description:
"Note that there are five underscores but only four copies of PATH_INFO"
should be
"Note that there are four underscores but only three superfluous copies of

Aleksander Budzynowski

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