From ecc4e84a956d6b87a2a4e064e1f614b78a9df0b7 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sat, 11 Jul 2020 09:57:04 +0200 Subject: [PATCH] Fixed: don't remove localhost from host-headers-allowed this was only for testing --- framework/security/config/security.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/security/config/security.properties b/framework/security/config/security.properties index 8992fa1a04..fa64fa5a81 100644 --- a/framework/security/config/security.properties +++ b/framework/security/config/security.properties @@ -154,7 +154,7 @@ security.token.key=security.token.key # -- List of domains or IP addresses to be checked to prevent Host Header Injection, # -- no spaces after commas,no wildcard, can be extended of course... -host-headers-allowed=127.0.0.1,demo-trunk.ofbiz.apache.org,demo-stable.ofbiz.apache.org,demo-old.ofbiz.apache.org +host-headers-allowed=localhost,127.0.0.1,demo-trunk.ofbiz.apache.org,demo-stable.ofbiz.apache.org,demo-old.ofbiz.apache.org # -- By default the SameSite value in SameSiteFilter is strict. This allows to change it to lax if needed SameSiteCookieAttribute=