Skip to content

Commit cdeac9b

Browse files
Add change note + fix qldoc
1 parent b9754df commit cdeac9b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

csharp/ql/lib/semmle/code/csharp/frameworks/Razor.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class PageModelClass extends Class {
222222
this.getABaseType+().hasFullyQualifiedName("Microsoft.AspNetCore.Mvc.RazorPages", "PageModel")
223223
}
224224

225-
/** A handler method such as `OnGetAsync` */
225+
/** Gets a handler method such as `OnGetAsync` */
226226
Method getAHandlerMethod() {
227227
result = this.getAMethod() and
228228
result.getName().matches("On%") and
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* Modelled additional flow steps to track flow from handler methods of a `PageModel` class to the corresponding Razor Page (`.cshtml`) file, which may result in additional results for queries such as `cs/web/xss`.

0 commit comments

Comments
 (0)