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)
2323 }
2424 }
2525
26+ public class Item
27+ {
28+ public string Tainted { get ; set ; }
29+ }
30+
2631 public class AspRoutingEndpoints
2732 {
2833 public delegate void MapGetHandler ( string param ) ;
@@ -48,6 +53,8 @@ public void M1(string[] args)
4853 app . MapPut ( "/api/redirect/{mapPutParam}" , ( string mapPutParam ) => { } ) ;
4954 app . MapDelete ( "/api/redirect/{mapDeleteParam}" , ( string mapDeleteParam ) => { } ) ;
5055
56+ app . MapPost ( "/items" , ( Item item ) => { } ) ;
57+
5158 app . Run ( ) ;
5259 }
5360 }
Original file line number Diff line number Diff line change 11remoteFlowSourceMembers
22| AspRemoteFlowSource.cs:10:23:10:31 | RequestId |
3+ | AspRemoteFlowSource.cs:28:23:28:29 | Tainted |
34remoteFlowSources
45| 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