httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59299] mod_macro syntax clash
Date Thu, 14 Apr 2016 11:46:41 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59299

--- Comment #2 from Marc Stern <marc.stern@approach.be> ---
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message