File tree Expand file tree Collapse file tree 11 files changed +74
-17
lines changed
query-tests/Security Features
CWE-285/MissingAccessControl/WebFormsTests Expand file tree Collapse file tree 11 files changed +74
-17
lines changed Original file line number Diff line number Diff line change 1
1
semmle-extractor-options: /nostdlib /noconfig
2
2
semmle-extractor-options: --load-sources-from-project:${testdir}/../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
3
- semmle-extractor-options: ${testdir}/../../resources/stubs/System.Web.cs
3
+ semmle-extractor-options: ${testdir}/../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change 1
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
2
+ semmle-extractor-options: --load-sources-from-project:${testdir}/../../../../resources/stubs/_frameworks/Microsoft.AspNetCore .App/Microsoft.AspNetCore .App.csproj
3
3
semmle-extractor-options: ${testdir}/../../../../resources/stubs/System.Web.cs
4
+ semmle-extractor-options: ${testdir}/../../../../resources/stubs/System.Web.Http.cs
Original file line number Diff line number Diff line change 1
1
semmle-extractor-options: /nostdlib /noconfig
2
- semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/Newtonsoft.Json/13.0.3/Newtonsoft.Json .csproj
3
- semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs
2
+ semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App .csproj
3
+ semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change 1
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
2
semmle-extractor-options: --load-sources-from-project:../../../resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj
4
3
semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change 1
1
semmle-extractor-options: /nostdlib /noconfig
2
2
semmle-extractor-options: --load-sources-from-project:${testdir}/../../../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
3
- semmle-extractor-options: ${testdir}/../../../../../resources/stubs/System.Web.cs
3
+ semmle-extractor-options: ${testdir}/../../../../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change 1
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
2
semmle-extractor-options: --load-sources-from-project:${testdir}/../../../../resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj
4
3
semmle-extractor-options: ${testdir}/../../../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change 1
- semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll /r:System.Xml.ReaderWriter.dll /r:System.Private.Xml.dll /r:System.Runtime.Extensions.dll
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
1
semmle-extractor-options: /nostdlib /noconfig
2
2
semmle-extractor-options: --load-sources-from-project:${testdir}/../../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
3
- semmle-extractor-options: ${testdir}/../../../../resources/stubs/System.Web.cs
3
+ semmle-extractor-options: ${testdir}/../../../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public class StringContent
49
49
{
50
50
public StringContent ( string s ) { }
51
51
}
52
+
52
53
}
53
54
54
55
namespace System . Net . Mail
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
+ }
You can’t perform that action at this time.
0 commit comments