Firewall to check if url ends with .js , .css , .html

Is there a way to check if http.request.uri.path ends/doesn’t ends with .js .css .html instead of checking if http.request.uri.path contains those?

see some examples at https://developers.cloudflare.com/firewall/recipes/

matches comparison operator and a regular expression to block requests that target autodiscover.xml and autodiscover.src.

http.request.uri.path matches "/autodiscover\.(xml|src)$"

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.