Skip to content

Commit

Permalink
Fixed: fix wrong property reference in warning log.
Browse files Browse the repository at this point in the history
  • Loading branch information
gilPts committed Jan 21, 2025
1 parent df406ad commit 5cbbe63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ private static boolean isSafeScript(String language, String script) throws IOExc
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;
}
Expand Down

0 comments on commit 5cbbe63

Please sign in to comment.