We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a72436f commit f718d78Copy full SHA for f718d78
1 file changed
javascript/ql/lib/semmle/javascript/frameworks/Express.qll
@@ -683,13 +683,13 @@ module Express {
683
(
684
if exists(queryRef(request).getAPropertyRead())
685
then this = queryRef(request).getAPropertyRead()
686
- else this = queryRef(request)
+ else this = request.ref().getAPropertyRead("query")
687
)
688
or
689
690
if exists(paramsRef(request).getAPropertyRead())
691
then this = paramsRef(request).getAPropertyRead()
692
- else this = paramsRef(request)
+ else this = request.ref().getAPropertyRead("params")
693
694
695
0 commit comments