You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Issac Goldstand <ma...@beamartyr.net> on 2007/04/22 15:27:09 UTC

mod_filter not merging config directives which reset the chain properly

mod_filter doesn't handle "FilterChain =..." or "FilterChain !" properly when 
merging configs.

Assume you have a setup like this:
<VirtualHost ...>

FilterProvider a ...
FilterProvider b ...
FilterProvider c ...

FilterChain a b
<Location /foo>
FilterChain =c
</Location>

<Location /bar>
FilterChain !
</Location>
</VirtualHost>

The correct behaviour should be for foo to run *only* c, and for bar to run 
nothing.  However, currently /foo will run abc and /bar will run ab

This is filed at https://issues.apache.org/bugzilla/show_bug.cgi?id=42186 and has a proposed patch attached.

  Issac