Skip to content

Commit 6603024

Browse files
committed
C#: Allow encryption- prefix for sinks in CsvValidation.
1 parent 57ba0c4 commit 6603024

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ module CsvValidation {
377377
exists(string row, string kind | sinkModel(row) |
378378
kind = row.splitAt(";", 7) and
379379
not kind = ["code", "sql", "xss", "remote", "html"] and
380+
not kind.matches("encryption-%") and
380381
msg = "Invalid kind \"" + kind + "\" in sink model."
381382
)
382383
or

0 commit comments

Comments
 (0)