Sling referrer filter - question on allow.empty and allow.hosts.regexp | Community
Skip to main content
jayv25585659
Level 8
May 1, 2025
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!

 

AmitVishwakarma
AmitVishwakarmaAccepted solution
Level 1
May 1, 2025

Hi @jayv25585659 ,

2 replies

AmitVishwakarma
AmitVishwakarmaAccepted solution
Level 1
May 1, 2025

Hi @jayv25585659 ,

Translate
Level 4
May 1, 2025

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