Skip to content

Commit d001c3c

Browse files
committed
C#: Restructure files.
1 parent c906a82 commit d001c3c

File tree

11 files changed

+4
-4
lines changed

11 files changed

+4
-4
lines changed

csharp/ql/src/Security Features/CWE-016/ASPNetRequestValidationMode.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
The following example shows the <code>requestValidationMode</code>
2424
attribute set to the value 4.0 which disables some protections and
2525
ignores individual <code>Page</code> directives:
26-
27-
<sample src="ConfigurationBad.config" />
2826
</p>
2927

28+
<sample src="ASPNetRequestValidationModeBad.config" />
29+
3030
<p>
3131
Setting the value to 4.5 enables request validation for all requests:
3232
</p>
3333

34-
<sample src="ConfigurationGood.config" />
34+
<sample src="ASPNetRequestValidationModeGood.config" />
3535

3636
</example>
3737
<references>

csharp/ql/src/Security Features/CWE-016/ConfigurationBad.config renamed to csharp/ql/src/Security Features/CWE-016/ASPNetRequestValidationModeBad.config

File renamed without changes.

csharp/ql/src/Security Features/CWE-016/ConfigurationGood.config renamed to csharp/ql/src/Security Features/CWE-016/ASPNetRequestValidationModeGood.config

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength.cs renamed to csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength/ASPNetMaxRequestLength.cs

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength.expected renamed to csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength/ASPNetMaxRequestLength.expected

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength.qlref renamed to csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength/ASPNetMaxRequestLength.qlref

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-016/Web.config renamed to csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength/Web.config

File renamed without changes.

csharp/ql/test/query-tests/Security Features/CWE-016/bad/Web.config renamed to csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetMaxRequestLength/bad/Web.config

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| ConfigurationBad.config:3:5:3:47 | requestValidationMode=4.0 | Insecure value for requestValidationMode (4.0). |
1+
| ASPNetRequestValidationModeBad.config:3:5:3:47 | requestValidationMode=4.0 | Insecure value for requestValidationMode (4.0). |

csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetRequestValidationMode/ConfigurationBad.config renamed to csharp/ql/test/query-tests/Security Features/CWE-016/ASPNetRequestValidationMode/ASPNetRequestValidationModeBad.config

File renamed without changes.

0 commit comments

Comments
 (0)