pebble icon indicating copy to clipboard operation
pebble copied to clipboard

Limit `for` iterations: request for comments

Open vgrigoriu opened this issue 3 years ago • 0 comments

We're going to use Pebble with untrusted templates. Among other measures we'd like to add a limit to the number of iterations that happen in a {% for %}, to guard against infinite / very long loops.

@ebussieres, do you think this is something that might be useful for other Pebble users? Would it make sense to open a PR here or should we keep it to ourselves?

vgrigoriu avatar Jul 12 '21 13:07 vgrigoriu