Sling referrer filter - question on allow.empty and allow.hosts.regexp | Community
Skip to main content
jayv25585659
New Participant
May 1, 2025
Solved

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

  • May 1, 2025
  • 2 replies
  • 495 views

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!

 

Best answer by AmitVishwakarma

Hi @jayv25585659 ,

2 replies

AmitVishwakarma
AmitVishwakarmaAccepted solution
New Participant
May 1, 2025

Hi @jayv25585659 ,

New Participant
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.