Forum Discussion
Stanislas_Piro2
Mar 24, 2018Cumulonimbus
Impressive! This code can't work and you say it's now working.
there are 2 issues in the code:
- string "/Mirada_Test-portal" can't match a string forced to lower case
- even if you remove the string tolower, the character * in the condition is not in the requested URI. it is not used as a wildcard.
try this:
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] equals "/mirada_test-portal-fw-war-11.6.3/private/poll2.ajax" } {
drop
}
}