mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
C#: Disable field flow for cs/inappropriate-encoding
This commit is contained in:
@@ -62,6 +62,8 @@ abstract class RequiresEncodingConfiguration extends TaintTracking2::Configurati
|
||||
override predicate isSink(Node sink) { this.requiresEncoding(sink) }
|
||||
|
||||
override predicate isSanitizer(Node sanitizer) { this.isPossibleEncodedValue(sanitizer.asExpr()) }
|
||||
|
||||
override int fieldFlowBranchLimit() { result = 0 }
|
||||
}
|
||||
|
||||
/** An encoded value, for example a call to `HttpServerUtility.HtmlEncode`. */
|
||||
|
||||
Reference in New Issue
Block a user