Skip to content

Commit 5f4ee1e

Browse files
committed
Change from EVENT_FAILURE to SECURITY_FAILURE, because it potentially is, despite best intentions.
1 parent 6b46be3 commit 5f4ee1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/owasp/esapi/reference/DefaultEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ private void ensureDangerousMethodExplicitlyEnabled(String fullyQualifiedMethodN
329329
if ( justification == null || justification.trim().isEmpty() ) {
330330
justification = "None";
331331
}
332-
logger.warning( Logger.EVENT_FAILURE, auditMsg + " Provided justification: " + justification );
332+
logger.warning( Logger.SECURITY_FAILURE, auditMsg + " Provided justification: " + justification );
333333
}
334334
return;
335335
}

0 commit comments

Comments
 (0)