-
-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue #453 jinja2 template select_autoescape when using jinja2.se…
…lect_autoescape (#454) * Add unit test showing the issue * Allow select_autoescape to be an attribute (i.e. jinja2.select_autoescape) * Update bandit/plugins/jinja2_templates.py * Update jinja2_templates.py Co-authored-by: Eric Brown <ericwb@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters