Skip to main content
jayv25585659
Level 8
May 1, 2025 5:52 AM UTC
Solved

Sling referrer filter - question on allow.empty and allow.hosts.regexp

if allow.empty is enabled BUT I have entries in allow.hosts.regexp, is my instance still limited to the hosts lin the allow.hosts.regexp list or will the instance accept any request coming from anywhere? Thanks!

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
AmitVishwakarma
AmitVishwakarmaAccepted solution
Community Advisor
May 1, 2025 5:59 PM UTC

Hi @jayv25585659 ,

Amit Vishwakarma - Adobe Commerce Champion 2025 | 17x Adobe certified | 6x Adobe SME

2 replies

Level 4
May 1, 2025 6:24 AM UTC

Hi @jayv25585659 ,

If allow.empty=true, AEM will allow requests with no Referer header regardless of what's in allow.hosts.regexp. But if a Referer header is present, it must match the allow.hosts.regexp pattern to be accepted.

Translate
AmitVishwakarma
Community Advisor
AmitVishwakarmaCommunity AdvisorAccepted solution
Community Advisor
May 1, 2025 5:59 PM UTC

Hi @jayv25585659 ,

Translate
Amit Vishwakarma - Adobe Commerce Champion 2025 | 17x Adobe certified | 6x Adobe SME