File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
lib/semmle/code/csharp/security/dataflow/flowsinks Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ class HtmlTextWriterSink extends HtmlSink {
6161deprecated class AttributeCollectionSink extends DataFlow:: ExprNode {
6262 AttributeCollectionSink ( ) {
6363 exists ( SystemWebUIAttributeCollectionClass ac , Parameter p |
64+ p = ac .getAddMethod ( ) .getParameter ( 1 ) or
6465 p = ac .getItemProperty ( ) .getSetter ( ) .getParameter ( 0 )
6566 |
6667 this .getExpr ( ) = p .getAnAssignedArgument ( )
Original file line number Diff line number Diff line change 11---
22category : minorAnalysis
33---
4- * C#: The indexer and ` Add ` method on ` System.Web.UI.AttributeCollection ` is no longer considered a HTML sink.
4+ * C#: The indexer and ` Add ` method on ` System.Web.UI.AttributeCollection ` is no longer considered an HTML sink.
You can’t perform that action at this time.
0 commit comments