Skip to content

Commit 52841e9

Browse files
Apply review suggestions - minor fixes
1 parent bdaeeea commit 52841e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/ql/lib/semmle/code/csharp/security/auth/MissingFunctionLevelAccessControlQuery.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ private class MvcActionMethod extends ActionMethod {
4646
/** An action method on a subclass of `System.Web.UI.Page`. */
4747
private class WebFormActionMethod extends ActionMethod {
4848
WebFormActionMethod() {
49-
this.getDeclaringType().getBaseClass*() instanceof SystemWebUIPageClass and
49+
this.getDeclaringType().getBaseClass+() instanceof SystemWebUIPageClass and
5050
this.getAParameter().getType().getName().matches("%EventArgs")
5151
}
5252

5353
override Callable getAnAuthorizingCallable() {
54-
result = this
54+
result = super.getAnAuthorizingCallable()
5555
or
5656
result.getDeclaringType() = this.getDeclaringType() and
5757
result.getName() = "Page_Load"

0 commit comments

Comments
 (0)