mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
C#: Address review comments.
This commit is contained in:
@@ -61,6 +61,7 @@ class HtmlTextWriterSink extends HtmlSink {
|
||||
deprecated class AttributeCollectionSink extends DataFlow::ExprNode {
|
||||
AttributeCollectionSink() {
|
||||
exists(SystemWebUIAttributeCollectionClass ac, Parameter p |
|
||||
p = ac.getAddMethod().getParameter(1) or
|
||||
p = ac.getItemProperty().getSetter().getParameter(0)
|
||||
|
|
||||
this.getExpr() = p.getAnAssignedArgument()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* C#: The indexer and `Add` method on `System.Web.UI.AttributeCollection` is no longer considered a HTML sink.
|
||||
* C#: The indexer and `Add` method on `System.Web.UI.AttributeCollection` is no longer considered an HTML sink.
|
||||
|
||||
Reference in New Issue
Block a user