I am getting request such as "~^.*\.mywebsite\.com$" on my azure application gateway. This causes "ERRORINFO_REQUEST_URI_INVALID" error. How do i prevent invalid requests at the Azure WAF2 level?
Prasanna Srinivasan
0
Reputation points
Recently, we are getting a lot of requests such as "~^.*.mywebsite.com$" and it gets logged in the Application Gateway as "ERRORINFO_REQUEST_URI_INVALID".
We would like to prevent such wildcard requests at the Web Application Firewall layer.
How do i set a custom rule that prevents the Gateway from even processing such requests?
Sign in to answer