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

Not protected against infinite include chain #160

Open
jpcima opened this issue Oct 8, 2019 · 0 comments
Open

Not protected against infinite include chain #160

jpcima opened this issue Oct 8, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jpcima
Copy link

jpcima commented Oct 8, 2019

It's feasible to craft a template whose processing is able to hang the main program.
It will be nice to set an upper limit on the depth of the include chain.
For example: {% include "myself.tpl" %}

@flexferrum flexferrum added the bug Something isn't working label Oct 8, 2019
@flexferrum flexferrum added this to To Do in Jinja2Cpp standard features via automation Oct 8, 2019
@flexferrum flexferrum added this to the Release 1.1 milestone Oct 8, 2019
@flexferrum flexferrum moved this from To Do to In Progress in Jinja2Cpp standard features Oct 11, 2019
@flexferrum flexferrum self-assigned this Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants