Which attribute must be present in all filter rules in AEM dispatcher configuration?
Hi Team,
Expecting the correct answer.
Which attribute must be present in all filter rules in AEM dispatcher configuration?
1. /glob
2. /type
3. /url
Thanks.
Hi Team,
Expecting the correct answer.
Which attribute must be present in all filter rules in AEM dispatcher configuration?
1. /glob
2. /type
3. /url
Thanks.
A filter is meant to convey allow or deny. So, /type is required.
/url and /glob are for pattern matching. Filtering with globs is deprecated in Dispatcher. As such, you should avoid using globs in the /filter sections since it may lead to security issues. So, instead of:
/glob "* *.css *"
use
/url "*.css"
So, you can use either of them or use /path instead. refer to https://blog.developer.adobe.com/writing-better-aem-dispatcher-filters-f23b391624a9
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.