This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 65d2e08b56 Implemented: Move ofbizdocker user from current VM to a new 
one that uses Ubuntu 24.04 LTS (OFBIZ-13351)
65d2e08b56 is described below

commit 65d2e08b568e0fce6138bccccd66b4795b902042
Author: Jacques Le Roux <[email protected]>
AuthorDate: Thu Feb 5 20:15:03 2026 +0100

    Implemented: Move ofbizdocker user from current VM to a new one that uses 
Ubuntu 24.04 LTS (OFBIZ-13351)
    
    Currently we get this:
    org.apache.ofbiz.webapp.control.RequestHandlerException:
    Domain demo-trunk.ofbiz-test.apache.org not accepted to prevent host header
    injection. You need to set host-headers-allowed property in 
security.properties file.
    
    This should fix it
---
 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 7f014e2ac6..eece746e72 100644
--- a/framework/security/config/security.properties
+++ b/framework/security/config/security.properties
@@ -175,7 +175,7 @@ 
security.token.key=%D*G-JaNdRgUkXp2s5v8y/B?E(H+MbPeShVmYq3t6w9z$C&F)J@NcRfTjWnZr
 
 # -- 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=localhost,127.0.0.1,demo-trunk.ofbiz.apache.org,demo-stable.ofbiz.apache.org,demo-next.ofbiz.apache.org
+host-headers-allowed=localhost,127.0.0.1,demo-trunk.ofbiz.apache.org,demo-stable.ofbiz.apache.org,demo-next.ofbiz.apache.org,demo-trunk.ofbiz-test.apache.org,demo-stable-test.ofbiz.apache.org,demo-next.ofbiz-test.apache.org
 
 # -- By default the SameSite value in SameSiteFilter is 'strict'.
 # -- This property allows to change to 'lax' if needed.

Reply via email to