Skip to content

Commit c419e8d

Browse files
Fix test
1 parent 1d64d12 commit c419e8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| ProfileController.cs:8:25:8:31 | Delete1 | This action is missing an authorization check. |
1+
| ProfileController.cs:9:25:9:31 | Delete1 | This action is missing an authorization check. |

csharp/ql/test/query-tests/Security Features/CWE-285/MissingAccessControl/MVCTests/ProfileController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public ActionResult Delete2(int id) {
2323
// GOOD: The Authorize attribute is used.
2424
[Authorize]
2525
public ActionResult Delete3(int id) {
26-
doThings()
26+
doThings();
2727
return View();
2828
}
2929

0 commit comments

Comments
 (0)