Skip to content

Commit 7455b1b

Browse files
authored
Update JSchOSInjectionSanitized.java
1 parent 3d891f0 commit 7455b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/experimental/Security/CWE/CWE-078/JSchOSInjectionSanitized.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void jschOsExecutionDig(HttpServletRequest request) {
2727

2828
for (String badChar : badChars) {
2929
if (untrusted.contains(badChar)) {
30-
System.out.println("Invalid IP address");
30+
System.out.println("Invalid host");
3131
return;
3232
}
3333
}

0 commit comments

Comments
 (0)