Forum Discussion
Jeremy_Church_3
Mar 17, 2017Cirrus
I believe the answer is pretty simple here. Use
-name
instead of -value
.
In this rule, the variable
ORIGIN
is set
to the returned value and checks to see if it's blank at the same time.
set REFERER [string tolower [HTTP::header value Referer]]
if { [set ORIGIN [class match -name $REFERER starts_with dg_sb_fit1_allow_origin]] ne "" } {
log local0. "You matched ${ORIGIN}"
}