httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58304] Unexpected Warnings from Macro Use in 2.4
Date Fri, 04 Sep 2015 06:43:45 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58304

--- Comment #1 from Marc Stern <marc.stern@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


Mime
View raw message