We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdaeeea commit 52841e9Copy full SHA for 52841e9
1 file changed
csharp/ql/lib/semmle/code/csharp/security/auth/MissingFunctionLevelAccessControlQuery.qll
@@ -46,12 +46,12 @@ private class MvcActionMethod extends ActionMethod {
46
/** An action method on a subclass of `System.Web.UI.Page`. */
47
private class WebFormActionMethod extends ActionMethod {
48
WebFormActionMethod() {
49
- this.getDeclaringType().getBaseClass*() instanceof SystemWebUIPageClass and
+ this.getDeclaringType().getBaseClass+() instanceof SystemWebUIPageClass and
50
this.getAParameter().getType().getName().matches("%EventArgs")
51
}
52
53
override Callable getAnAuthorizingCallable() {
54
- result = this
+ result = super.getAnAuthorizingCallable()
55
or
56
result.getDeclaringType() = this.getDeclaringType() and
57
result.getName() = "Page_Load"
0 commit comments