File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
query-tests/Security Features/CWE-020 Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1- semmle-extractor-options: /r:${testdir}/../../../resources/assemblies/System.Web.dll /r:${testdir}/../../../resources/assemblies/System.Web.ApplicationServices.dll /r:${testdir}/../../../resources/assemblies/System.Data.dll /r:System.Text.RegularExpressions.dll /r:System.Collections.Specialized.dll /r:System.Data.Common.dll /r:System.Security.Cryptography.X509Certificates.dll /r:System.Runtime.InteropServices.dll
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: ${testdir}/../../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ public class HttpRequest
156156 public class HttpResponse
157157 {
158158 public void Write ( object o ) { }
159+ public void Write ( string s ) { }
159160 public void WriteFile ( string s ) { }
160161 public HttpCookieCollection Cookies => null ;
161162 public void AddHeader ( string name , string value ) { }
You can’t perform that action at this time.
0 commit comments