httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59299] mod_macro syntax clash
Date Thu, 14 Apr 2016 11:46:41 GMT

--- Comment #2 from Marc Stern <> ---
Example of clash:
  <Macro rewriteme ... %{condvar} ...>
  RewriteCond %{condvar} %condval

You expect %{condvar} to be a macro parameter but it will maybe be replaced
because we defined somewhere else "Define codvar ...".
Quite tricky to troubleshoot.

3 solutions:
 - modify mod_rewrite & mod_core (Define)
 - use other characters than %$ in mod_macro
 - use another character than {} as delimiter in macro parameters

The third solution works without any change (for people aware about it).
The second solution will avoid problems. If this is not done, documentation
should at least speak about the problem and recommend solution 3.

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