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

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


The following commit(s) were added to refs/heads/release24.09 by this push:
     new 333b33bdf8 Fixed: fix wrong property reference in warning log.
333b33bdf8 is described below

commit 333b33bdf872233603b48cfec1117e8942a09e6d
Author: Gil Portenseigne <gil.portensei...@nereide.fr>
AuthorDate: Tue Jan 21 11:27:28 2025 +0100

    Fixed: fix wrong property reference in warning log.
---
 framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptUtil.java 
b/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptUtil.java
index 8c0eb07009..25401c4da4 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptUtil.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptUtil.java
@@ -421,7 +421,7 @@ public final class ScriptUtil {
         if (!currentScriptAlreadyAllowed) {
             if (!checkIfScriptIsSafe(script)) {
                 Debug.logWarning(String.format("Tried to execute unauthorized 
script \n **** \n%s\n **** "
-                                + "\nif it's safe script you can add the 
following hash to security.allowedScriptlets: %s",
+                                + "\nif it's safe script you can add the 
following hash to security.allowedScriptletHashes: %s",
                         script, scriptHash), MODULE);
                 return false;
             }

Reply via email to