I have this strange behavior on my Application Gateway WAF. I created this custom rule (see image below) to deny traffic when the http request has Referer http header field empty or missing.
The problem is that this rule is only triggered when the Referer http header field is empty but not when it is missing :(
Instead, the same custom rule is working fine on the front door WAF.
Why is it happening? Did I do something wrong?