File tree Expand file tree Collapse file tree 3 files changed +16
-19
lines changed
query-tests/Security Features/CWE-611 Expand file tree Collapse file tree 3 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 1- semmle-extractor-options: /nostdlib /noconfig
2- semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
3- semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj
4- semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs
1+ semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs
2+ semmle-extractor-options: /r:System.Collections.Specialized.dll /r:System.Xml.ReaderWriter.dll /r:System.Private.Xml.dll /r:System.Runtime.Extensions.dll
Original file line number Diff line number Diff line change 1+ namespace System . Web . Http
2+ {
3+ public class ApiController
4+ {
5+ public Microsoft . AspNetCore . Http . HttpContext Context => null ;
6+ public virtual Microsoft . AspNetCore . Mvc . RedirectResult Redirect ( Uri location ) => null ;
7+ public virtual Microsoft . AspNetCore . Mvc . RedirectResult Redirect ( string location ) => null ;
8+ public virtual ResponseMessageResult ResponseMessage ( System . Net . Http . HttpResponseMessage response ) => null ;
9+ public virtual Microsoft . AspNetCore . Mvc . RedirectToRouteResult RedirectToRoute ( string routeName , object routeValues ) => null ;
10+ public Microsoft . AspNetCore . Mvc . IUrlHelper Url { get ; set ; }
11+ }
12+
13+ public class ResponseMessageResult { }
14+ }
Original file line number Diff line number Diff line change @@ -60,21 +60,6 @@ public class HttpApplication : IHttpHandler
6060 }
6161}
6262
63- namespace System . Web . Http
64- {
65- public class ApiController
66- {
67- public Microsoft . AspNetCore . Http . HttpContext Context => null ;
68- public virtual Microsoft . AspNetCore . Mvc . RedirectResult Redirect ( Uri location ) => null ;
69- public virtual Microsoft . AspNetCore . Mvc . RedirectResult Redirect ( string location ) => null ;
70- public virtual ResponseMessageResult ResponseMessage ( System . Net . Http . HttpResponseMessage response ) => null ;
71- public virtual Microsoft . AspNetCore . Mvc . RedirectToRouteResult RedirectToRoute ( string routeName , object routeValues ) => null ;
72- public Microsoft . AspNetCore . Mvc . IUrlHelper Url { get ; set ; }
73- }
74-
75- public class ResponseMessageResult { }
76- }
77-
7863namespace System . Web . Mvc
7964{
8065 public class Controller
You can’t perform that action at this time.
0 commit comments