mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
C#: Add HtmlString test, which is supported as it is a known sink defined in QL.
This commit is contained in:
@@ -45,4 +45,9 @@ public class SupportedExternalApis
|
||||
Console.SetError(Console.Out); // Has no flow summary, supported as neutral summary model
|
||||
var x = Console.Read(); // Known source
|
||||
}
|
||||
|
||||
public void M6()
|
||||
{
|
||||
var html = new HtmlString("html"); // Supported HtmlSink defined in QL.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user