Skip to content

Commit 588fe27

Browse files
committed
C#: Update/Add some hand-written stubs for CWE-079 and CWE-611.
1 parent 597a47b commit 588fe27

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

csharp/ql/test/query-tests/Security Features/CWE-079/XSS/stubs.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ public class HttpServerUtility
2121
public string HtmlEncode(string s) => throw null;
2222
}
2323

24-
// Generated from `System.Web.IHtmlString` in `System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
25-
public interface IHtmlString
26-
{
27-
}
28-
2924
// Generated from `System.Web.IPrincipalContainer` in `System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
3025
interface IPrincipalContainer
3126
{
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
namespace System.Web;
2+
3+
public interface IHtmlString { }

0 commit comments

Comments
 (0)