Hi Team,
We are using AEM as a managed Service with 6.5 and SP 15. infinity.json is blocked in the dispatcher if we access a url which ends with infinity.json. However, the infinity json is accessible via the url http://www.test.com/content/.ext.infinity.json;%0AXLA.ico/a.html with some unicode characers followed by a html path as shown above.
Can you please suggest a dispatcher rule in AMS to block the above url in dispatcher filters section?
Thanks In Advance.
Regards,
S
Solved! Go to Solution.
Views
Replies
Total Likes
Try deny on */*.infinity.json*/*
Hi,
To block the specific URL pattern "http://www.test.com/content/.ext.infinity.json;%0AXLA.ico/a.html" in the dispatcher filters section of Adobe Managed Services dispatcher configuration, you can use the following rule:
/0001 { /glob "*\;*.html" /type "deny" }
This rule will match any URL ending with ".html" and deny access to it, effectively blocking the URL mentioned in your question. Place this rule in your dispatcher configuration file within the appropriate section for filter rules.
Note: Make sure to adapt the rule according to your specific dispatcher configuration and URL patterns.
To block the URL you can use as @Himanshu_Jain suggested. The exact filter rule is as follows
#This will block all infinity.json and anything after it
/0030 { /type "deny" /url "*.infinity.json*" }
/0031 { /type "deny" /url "*.infinity.json" }
Views
Likes
Replies