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 {
61
61
deprecated class AttributeCollectionSink extends DataFlow:: ExprNode {
62
62
AttributeCollectionSink ( ) {
63
63
exists ( SystemWebUIAttributeCollectionClass ac , Parameter p |
64
+ p = ac .getAddMethod ( ) .getParameter ( 1 ) or
64
65
p = ac .getItemProperty ( ) .getSetter ( ) .getParameter ( 0 )
65
66
|
66
67
this .getExpr ( ) = p .getAnAssignedArgument ( )
Original file line number Diff line number Diff line change 1
1
---
2
2
category : minorAnalysis
3
3
---
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