Skip to content

Commit eb2f589

Browse files
Fix typos
1 parent 68ad5b7 commit eb2f589

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

csharp/ql/src/Security Features/CWE-639/InsecureDirectObjectReference.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Ensure that the current user is authorized to access the resource of the provide
1818
<p>In the following example, in the case marked BAD, there is no authorization check, so any user is able to edit any comment.
1919
In the case marked GOOD, there is a check that the current usr matches the author of the comment.</p>
2020
<sample src="WebFormsExample.cs" />
21-
<p>The following example shows a similar case for the ASP.NET Core framweork.</p>
21+
<p>The following example shows a similar case for the ASP.NET Core framework.</p>
2222
<sample src="MVCExample.cs" />
2323

2424

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public ActionResult Edit1(int profileId, string text) {
99
return View();
1010
}
1111

12-
// BAD: The AllowAnonymous attribute therides the Authorize attribute on the class.
12+
// BAD: The AllowAnonymous attribute overrides the Authorize attribute on the class.
1313
[AllowAnonymous]
1414
public ActionResult Edit2(int profileId, string text) {
1515
editProfileName(profileId, text);

0 commit comments

Comments
 (0)