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 09df055 commit eed19a3Copy full SHA for eed19a3
python/ql/src/experimental/Security/UnsafeUnpackQuery.qll
@@ -84,9 +84,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
84
// see wget: https://pypi.org/project/wget/
85
exists(API::CallNode mcn |
86
mcn = API::moduleImport("wget").getMember("download").getACall() and
87
- if exists(mcn.getArg(1))
88
- then source = mcn.getArg(1)
89
- else source = mcn.getReturn().asSource()
+ if exists(mcn.getArg(1)) then source = mcn.getArg(1) else source = mcn.getReturn().asSource()
90
)
91
or
92
// catch the Django uploaded files as a source
0 commit comments