We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0703b88 + 213cd94 commit f14df64Copy full SHA for f14df64
swift/ql/test/query-tests/Security/CWE-311/testURL.swift
@@ -18,5 +18,5 @@ func test1(passwd : String, encrypted_passwd : String, account_no : String, cred
18
let base = URL(string: "http://example.com/"); // GOOD (not sensitive)
19
let e = URL(string: "abc", relativeTo: base); // GOOD (not sensitive)
20
let f = URL(string: passwd, relativeTo: base); // BAD
21
- let g = URL(string: "abc", relativeTo: f); // BAD [NOT DETECTED]
+ let g = URL(string: "abc", relativeTo: f); // BAD (reported on line above)
22
}
0 commit comments