Skip to content

Commit 819a599

Browse files
authored
Correct the name tag and change the placeholders in the query
1 parent 9a7ab4e commit 819a599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/experimental/CWE-939/IncorrectURLVerification.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @id java/incorrect-url-verification
3-
* @name Insertion of sensitive information into log files
3+
* @name Incorrect URL verification
44
* @description Apps that rely on URL parsing to verify that a given URL is pointing to a trusted server are susceptible to wrong ways of URL parsing and verification.
55
* @kind problem
66
* @tags security
@@ -83,5 +83,5 @@ class HostVerificationMethodAccess extends MethodAccess {
8383

8484
from UriGetHostMethod um, MethodAccess uma, HostVerificationMethodAccess hma
8585
where hma.getQualifier() = uma and uma.getMethod() = um
86-
select "Potentially improper URL verification with $@ in $@ having $@.", hma, hma.getFile(),
86+
select "Potentially improper URL verification at ", hma, "having $@ ", hma.getFile(),
8787
hma.getArgument(0), "user-provided value"

0 commit comments

Comments
 (0)