File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed
csharp/ql/test/library-tests/dataflow/flowsources/aspremote Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ public object MyAction(ViewModel viewModel)
23
23
}
24
24
}
25
25
26
+ public class Item
27
+ {
28
+ public string Tainted { get ; set ; }
29
+ }
30
+
26
31
public class AspRoutingEndpoints
27
32
{
28
33
public delegate void MapGetHandler ( string param ) ;
@@ -48,6 +53,8 @@ public void M1(string[] args)
48
53
app . MapPut ( "/api/redirect/{mapPutParam}" , ( string mapPutParam ) => { } ) ;
49
54
app . MapDelete ( "/api/redirect/{mapDeleteParam}" , ( string mapDeleteParam ) => { } ) ;
50
55
56
+ app . MapPost ( "/items" , ( Item item ) => { } ) ;
57
+
51
58
app . Run ( ) ;
52
59
}
53
60
}
Original file line number Diff line number Diff line change 1
1
remoteFlowSourceMembers
2
2
| AspRemoteFlowSource.cs:10:23:10:31 | RequestId |
3
+ | AspRemoteFlowSource.cs:28:23:28:29 | Tainted |
3
4
remoteFlowSources
4
5
| AspRemoteFlowSource.cs:20:42:20:50 | viewModel |
5
- | AspRemoteFlowSource.cs:30:42:30:46 | param |
6
- | AspRemoteFlowSource.cs:38:58:38:63 | newUrl |
7
- | AspRemoteFlowSource.cs:39:61:39:65 | myApi |
8
- | AspRemoteFlowSource.cs:39:75:39:79 | myUrl |
9
- | AspRemoteFlowSource.cs:41:46:41:56 | lambdaParam |
10
- | AspRemoteFlowSource.cs:47:65:47:76 | mapPostParam |
11
- | AspRemoteFlowSource.cs:48:63:48:73 | mapPutParam |
12
- | AspRemoteFlowSource.cs:49:69:49:82 | mapDeleteParam |
6
+ | AspRemoteFlowSource.cs:35:42:35:46 | param |
7
+ | AspRemoteFlowSource.cs:43:58:43:63 | newUrl |
8
+ | AspRemoteFlowSource.cs:44:61:44:65 | myApi |
9
+ | AspRemoteFlowSource.cs:44:75:44:79 | myUrl |
10
+ | AspRemoteFlowSource.cs:46:46:46:56 | lambdaParam |
11
+ | AspRemoteFlowSource.cs:52:65:52:76 | mapPostParam |
12
+ | AspRemoteFlowSource.cs:53:63:53:73 | mapPutParam |
13
+ | AspRemoteFlowSource.cs:54:69:54:82 | mapDeleteParam |
14
+ | AspRemoteFlowSource.cs:56:41:56:44 | item |
You can’t perform that action at this time.
0 commit comments