We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 778a88f commit 179f77bCopy full SHA for 179f77b
python/ql/lib/semmle/python/frameworks/Django.qll
@@ -2337,7 +2337,8 @@ module PrivateDjango {
2337
// Notice that this does not ensure that this is not a FP, since the authentication
2338
// middleware might be unused.
2339
//
2340
- // This also strongly implies that we are actually looking at the `MIDDLEWARE` setting.
+ // This also strongly implies that `mw` is in fact a Django middleware setting and
2341
+ // not just a variable named `MIDDLEWARE`.
2342
list.getAnElt().(StrConst).getText() =
2343
"django.contrib.auth.middleware.AuthenticationMiddleware"
2344
)
0 commit comments