Forum Discussion
Stanislas_Piro2
Aug 21, 2015Cumulonimbus
Hi,
expr { [mcget {session.network.name}] contains "foo" and contains "test.com"}
is not a good expression
expr { ([mcget {session.network.name}] contains "foo") && ([mcget {session.network.name}] contains "test.com")}
if the domain is test.com, it's better to use
ends_with
instead of contains
Why do you create 2 boxes for hostname check? you can create a second branch in the first box?