HI everyone,
AEM 6.1.
I get a 403 Forbidden, on a Post action, because the referrer host is not allowed. My referrer host is: subdomain.domain.com
So I added in the config :
org.apache.sling.security.impl.ReferrerFilter.config
allow.hosts.regexp=[".*"]
This works as it should, but it leaves it quiet open and I try to narrow it down. But every single regex is not working:
allow.hosts.regexp=[".*\.domain\.com"]
allow.hosts.regexp=[".*.domain.com"]
allow.hosts.regexp=["(.*)\.domain\.com"]
Is this a bug or do I use the wrong regex flavor? How can I narrow it down to *.domain.com?
Kind regards,
Jerry