WAF: match a URI path with any extension

If I set a rule in Cloudflare WAF, where http.request.uri.path eq "/users", will that match only “/users” or also “/users.html”, “/users.json”, “/users.xml”, etc.?

No, it won’t match those as you’ve chosen equals.

Either choose contains from the dropdown, or I think you can use the expression editor with (starts_with(http.request.uri.path, "/users")) to be more specific.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.