Skip to content

Commit 2a8645c

Browse files
committed
Fix 'Singleton set literal' warning
1 parent 58be109 commit 2a8645c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/experimental/Security/CWE-176/UnicodeBypassValidationQuery.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ class Configuration extends TaintTracking::Configuration {
6262
cn = API::moduleImport("pyunormalize").getMember(["NFC", "NFD", "NFKC", "NFKD"]).getACall() and
6363
sink = cn.getArg(0)
6464
or
65-
cn = API::moduleImport("pyunormalize").getMember(["normalize"]).getACall() and
65+
cn = API::moduleImport("pyunormalize").getMember("normalize").getACall() and
6666
sink = cn.getArg(1)
6767
or
68-
cn = API::moduleImport("textnorm").getMember(["normalize_unicode"]).getACall() and
68+
cn = API::moduleImport("textnorm").getMember("normalize_unicode").getACall() and
6969
sink = cn.getArg(0)
7070
) and
7171
state instanceof PostValidation

0 commit comments

Comments
 (0)