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 7c51dff commit 33e0f25Copy full SHA for 33e0f25
javascript/ql/src/semmle/javascript/frameworks/NodeJSLib.qll
@@ -272,7 +272,7 @@ module NodeJSLib {
272
DataFlow::Node tainted;
273
274
PathFlowTarget() {
275
- exists(string methodName | this = DataFlow::moduleMember("path", methodName).getACall() |
+ exists(string methodName | this = NodeJSLib::Path::moduleMember(methodName).getACall() |
276
// getters
277
methodName = "basename" and tainted = getArgument(0)
278
or
0 commit comments