Dispatcher rule to block infinity json for a unique url | Community
Skip to main content
New Participant
Jun 12, 2023 1:25 AM UTC
Solved

Dispatcher rule to block infinity json for a unique url

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Himanshu_Jain
Himanshu_JainAccepted solution
New Participant
Jun 12, 2023 3:23 AM UTC

Try  deny on  */*.infinity.json*/*

Himanshu Jain

3 replies

ManviSharma
Employee
Jun 12, 2023 4:59 AM UTC

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.

 

Translate
kaikubad
New Participant
Jun 12, 2023 5:38 AM UTC

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" }

Translate
Himanshu_Jain
Himanshu_JainAccepted solution
New Participant
Jun 12, 2023 3:23 AM UTC

Try  deny on  */*.infinity.json*/*

Translate
Himanshu Jain