Promote jinja sinks

This commit is contained in:
Joe Farebrother
2024-11-06 09:09:42 +00:00
parent 8647073433
commit 60d8a85a9c
2 changed files with 50 additions and 0 deletions

View File

@@ -122,6 +122,7 @@ class GenshiMarkupTemplateConstruction extends TemplateConstruction::Range, API:
override DataFlow::Node getSourceArg() { result = this.getArg(0) }
}
//
/** A call to `jinja2.Template`. */
class Jinja2TemplateConstruction extends TemplateConstruction::Range, API::CallNode {
Jinja2TemplateConstruction() {