Package jadx.core.utils.log
Class LogUtils
java.lang.Object
jadx.core.utils.log.LogUtils
Escape input from untrusted source before pass to logger.
Suggested by CodeQL: https://codeql.github.com/codeql-query-help/java/java-log-injection/
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final PatternWe replace everything except alphanumeric characters, underscore, dots, colon, semicolon, comma, spaces, minus -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
REPLACE_PATTERN
We replace everything except alphanumeric characters, underscore, dots, colon, semicolon, comma, spaces, minus
-
-
Constructor Details
-
LogUtils
public LogUtils()
-
-
Method Details
-
escape
-
escape
-