Skip to content

Commit 2a654af

Browse files
authored
Correct the select statement in the query
1 parent 74ab698 commit 2a654af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,4 @@ class HostVerificationMethodAccess extends MethodAccess {
9494

9595
from UriGetHostMethod um, MethodAccess uma, HostVerificationMethodAccess hma
9696
where hma.getQualifier() = uma and uma.getMethod() = um
97-
select "Potentially improper URL verification at ", hma, "having $@ ", hma.getFile(),
98-
hma.getArgument(0), "user-provided value"
97+
select hma, "Method has potentially $@ ", hma.getArgument(0), "improper URL verification"

0 commit comments

Comments
 (0)