Skip to content

Commit 7fa442d

Browse files
committed
C#: Merge tests.
1 parent ae96b34 commit 7fa442d

File tree

17 files changed

+24
-262
lines changed

17 files changed

+24
-262
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
| XSSAspNet.cs:27:30:27:34 | access to local variable sayHi | $@ flows to here and is written to HTML or JavaScript: System.Web.WebPages.WebPage.WriteLiteral() method. | XSSAspNet.cs:20:25:20:43 | access to property QueryString | User-provided value |
2+
| XSSAspNet.cs:37:40:37:44 | access to local variable sayHi | $@ flows to here and is written to HTML or JavaScript: System.Web.WebPages.WebPage.WriteLiteralTo() method. | XSSAspNet.cs:20:25:20:43 | access to property QueryString | User-provided value |
3+
| XSSAspNet.cs:44:28:44:55 | access to indexer | $@ flows to here and is written to HTML or JavaScript. | XSSAspNet.cs:44:28:44:46 | access to property QueryString | User-provided value |
4+
| XSSAspNetCore.cs:22:52:22:76 | call to operator implicit conversion | $@ flows to here and is written to HTML or JavaScript. | XSSAspNetCore.cs:22:52:22:64 | access to property Query | User-provided value |
5+
| XSSAspNetCore.cs:45:51:45:53 | access to parameter foo | $@ flows to here and is written to HTML or JavaScript. | XSSAspNetCore.cs:41:56:41:58 | foo | User-provided value |
6+
| XSSAspNetCore.cs:52:43:52:67 | access to property Value | $@ flows to here and is written to HTML or JavaScript. | XSSAspNetCore.cs:52:43:52:67 | access to property Value | User-provided value |
7+
| XSSAspNetCore.cs:59:43:59:73 | call to method ToString | $@ flows to here and is written to HTML or JavaScript. | XSSAspNetCore.cs:59:43:59:55 | access to property Query | User-provided value |
8+
| XSSAspNetCore.cs:62:44:62:66 | access to indexer | $@ flows to here and is written to HTML or JavaScript. | XSSAspNetCore.cs:62:44:62:56 | access to property Query | User-provided value |
9+
| XSSAspNetCore.cs:70:43:70:61 | access to property ContentType | $@ flows to here and is written to HTML or JavaScript. | XSSAspNetCore.cs:70:43:70:61 | access to property ContentType | User-provided value |
10+
| XSSAspNetCore.cs:73:51:73:72 | call to operator implicit conversion | $@ flows to here and is written to HTML or JavaScript. | XSSAspNetCore.cs:73:51:73:65 | access to property Headers | User-provided value |

csharp/ql/test/query-tests/Security Features/CWE-079/XSSFlowAspNet/XSS.qlref renamed to csharp/ql/test/query-tests/Security Features/CWE-079/XSS/XSS.qlref

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-079/XSSFlowAspNet/XSS.cs renamed to csharp/ql/test/query-tests/Security Features/CWE-079/XSS/XSSAspNet.cs

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-079/XSSFlowAspNetCore/XSS.cs renamed to csharp/ql/test/query-tests/Security Features/CWE-079/XSS/XSSAspNetCore.cs

File renamed without changes.

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

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-079/XSSFlowAspNet/XSS.expected

Lines changed: 0 additions & 3 deletions
This file was deleted.

csharp/ql/test/query-tests/Security Features/CWE-079/XSSFlowAspNetCore/XSS.expected

Lines changed: 0 additions & 7 deletions
This file was deleted.

csharp/ql/test/query-tests/Security Features/CWE-079/XSSFlowAspNetCore/XSS.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.

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

Lines changed: 0 additions & 236 deletions
This file was deleted.

0 commit comments

Comments
 (0)