mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
C#: Make one more ASP.NET routing example.
This commit is contained in:
@@ -24,7 +24,6 @@ namespace Testing
|
||||
|
||||
public class AspRoutingEndpoints
|
||||
{
|
||||
|
||||
public void M1(string[] args)
|
||||
{
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
@@ -32,6 +31,7 @@ namespace Testing
|
||||
|
||||
// The delegate parameters are considered flow sources.
|
||||
app.MapGet("/api/redirect/{newUrl}", (string newUrl) => { });
|
||||
app.MapGet("/{myApi}/redirect/{myUrl}", (string myApi, string myUrl) => { } );
|
||||
|
||||
app.Run();
|
||||
}
|
||||
|
||||
@@ -2,4 +2,6 @@ remoteFlowSourceMembers
|
||||
| AspRemoteFlowSource.cs:9:23:9:31 | RequestId |
|
||||
remoteFlowSources
|
||||
| AspRemoteFlowSource.cs:19:42:19:50 | viewModel |
|
||||
| AspRemoteFlowSource.cs:34:58:34:63 | newUrl |
|
||||
| AspRemoteFlowSource.cs:33:58:33:63 | newUrl |
|
||||
| AspRemoteFlowSource.cs:34:61:34:65 | myApi |
|
||||
| AspRemoteFlowSource.cs:34:75:34:79 | myUrl |
|
||||
|
||||
Reference in New Issue
Block a user