KB Article #177823
Selector expressions containing metacharacters do not work as expected
Problem
* Selector expressions containing a metacharacter, such as those normal arithmatic operators (+, -, *, /), do not behave as expected. For example, if you use Get Cookie to get an XSRF-TOKEN cookie, we cannot get its value with ${cookie.XSRF-TOKEN.value} as that attempts to subtract two values which most likely do not exist.
Resolution
-- Selector expressions are based on JUEL, which treats certain characters as operators. In this example, one would use the alternate syntax of ${cookie["XSRF-TOKEN"]} where the minus sign will be quoted as part of the string containing the cookie name, rather than as an operator for subtraction.
In the general case, please refer to your version's User Guide or Policy Developer's Guide, in the section entitled "Selector syntax" in the "Select configuration values at runtime" chapter to find an alternate syntax to quote or avoid using operators.