mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
committed by
GitHub
parent
0b050204ad
commit
27b2c02693
@@ -112,7 +112,7 @@ module InsecureDownload {
|
||||
override DataFlow::Node getDownloadCall() { result = request }
|
||||
|
||||
override DataFlow::FlowLabel getALabel() {
|
||||
result instanceof Label::SensitiveInsecureURL // TODO: Also non-sensitive.
|
||||
result instanceof Label::SensitiveInsecureURL
|
||||
or
|
||||
hasUnsafeExtension(request.getASavePath().getStringValue()) and
|
||||
result instanceof Label::InsecureURL
|
||||
|
||||
Reference in New Issue
Block a user