This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release17.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release17.12 by this push:
new b7b7cad Fixed: MODULE is not module :/ (backporting is never easy!)
b7b7cad is described below
commit b7b7cad1a212582061bcc34ae5f25f7fcc405656
Author: Jacques Le Roux <
[hidden email]>
AuthorDate: Sat Jul 11 11:20:28 2020 +0200
Fixed: MODULE is not module :/ (backporting is never easy!)
---
.../src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
index 44bd79b..556f4cf 100644
--- a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
+++ b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
@@ -128,7 +128,7 @@ public class RequestHandler {
if (!hostHeadersAllowed.contains(request.getServerName())) {
Debug.logError("Domain " + request.getServerName() + " not accepted to prevent host header injection."
- + " You need to set host-headers-allowed property in security.properties file.", MODULE);
+ + " You need to set host-headers-allowed property in security.properties file.", module);
throw new RequestHandlerException("Domain " + request.getServerName() + " not accepted to prevent host header injection."
+ " You need to set host-headers-allowed property in security.properties file.");
}