Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code scanning alert - Jinja2 templating with autoescape=False #409

Open
1 task
DavidPCoster opened this issue Dec 1, 2023 · 2 comments
Open
1 task
Assignees

Comments

@DavidPCoster
Copy link
Collaborator

This has medium priority but I'm not sure it is a real issue. This relates to how the templates are used.

Tracking issue for:

djgroen added a commit that referenced this issue Dec 4, 2023
@djgroen
Copy link
Contributor

djgroen commented Dec 4, 2023

I've just added the field to the Template function and at least locally it does not result in any testing failures...

@djgroen
Copy link
Contributor

djgroen commented Dec 4, 2023

Okay, I forgot to tag the issue in the commit, but I just set autoescape to True instead of False. That should work properly, as I did check the jinja2 source code as well now :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants