{ /type "allow" /selectors "*" /extension '(gif|ico|jpeg|jpg|png|svg|pdf|webp)' /path "/content/dam/*" }
Hi folks,
In dispatcher filters, "url" and "path" seem to be interchangeable, at least in the examples I can find. Suppose I put "url" in the filter above, would it work any differently? thanks Fiona
Solved! Go to Solution.
Views
Replies
Total Likes
/url
allows matching agains the entire URL string (except host), making /path
, /suffix
, /selectors
and /extension
unecessary, although they are still processed. In order to avoid errors resulting from overlapping matching (eg. /url
and `/extension are both matching the extension in the same rule), only /type and /method should be used in combination with /url.
As per my understanding, "/url" and "/path" works similarly in the dispatcher filters.
Thanks for your reply
Thanks for this
/url
allows matching agains the entire URL string (except host), making /path
, /suffix
, /selectors
and /extension
unecessary, although they are still processed. In order to avoid errors resulting from overlapping matching (eg. /url
and `/extension are both matching the extension in the same rule), only /type and /method should be used in combination with /url.
Thanks!
Views
Likes
Replies
Views
Likes
Replies