Format: | (:zap math*="<value>":) |
Requirements to Use: ZAP | ZAP Toolbox
Explanation: This command evaluates the value of field math, and inserts it back into the math field. Only the following characters will be accepted:
0-9, + - * / % ( )
To change the default value, you can reset the following pattern in a config file. (Not Site.ZAPConfig). Be careful about allowing anything in that might execute php commands.
$ZAPmath=" /^[-+*/% ()0-9.]+$/";
As a security feature, this command can ONLY be set using the (:zap field="value":) format.