Whats the difference between URI's?
In the Cloudflare website at Security > WAF > Custom Rules, the Field combobox has "URI Path" doesnt represents the path component of the request URL?
Example: For https://example.com/blog/post?search=cloudflare, the URI Path is /blog/post.

4 Replies
I have created this rule that should block any request where the URI Path does not start with / but its not working
I did a request like
https://www.mysite.com
, and it didnt got blocked by the rule
Even if you don't put a slash, your browser adds one to every request, there's no such thing as a request with an empty path
Docs on available fields: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/
Cloudflare Docs
Fields reference