You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/09/04 08:43:45 UTC
[Bug 58304] Unexpected Warnings from Macro Use in 2.4
https://bz.apache.org/bugzilla/show_bug.cgi?id=58304
--- Comment #1 from Marc Stern <ma...@approach.be> ---
${VAR} is interpreted as a defined variable
(http://httpd.apache.org/docs/2.4/mod/core.html#define). It's equivalent to
%{VAR}.
mod_macro uses the syntax $var but also ${var}, which is mandatory if you want
the variable to be a part of a string, like in "${var}abc".
The syntax clashes with the Define directive, so it should be changed. Ans
%{var} clashes with mod_rewrite.
This doe not only give a warning but could lead to a real mismatch between
something defined as a local parameter and somebody else defining it at a
global level as a defined config variable.
To make interpolation not clash with another module, we should use another
character (instead of an existing one or on top of?) like &{var}.
--
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