Skip to content

Commit 85eda8c

Browse files
committed
Brings security tests from other PRs
1 parent 96a02ab commit 85eda8c

5 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Dummy class for extraction purposes
2+
public class ASPNetMaxRequestLengthDummyClass
3+
{
4+
5+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| bad/Web.config:4:5:4:46 | maxRequestLength=262144 | Large 'maxRequestLength' value (262144). |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Security Features/CWE-016/ASPNetMaxRequestLength.ql
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<system.web>
4+
<httpRuntime maxRequestLength="4096" />
5+
</system.web>
6+
</configuration>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<system.web>
4+
<httpRuntime maxRequestLength="262144" />
5+
</system.web>
6+
</configuration>

0 commit comments

Comments
 (0)