]> git.ipfire.org Git - thirdparty/jinja.git/commit
Fix regression in 2.9 involving unsafe Context.get_all() usage
authorZac Medico <zmedico@gmail.com>
Tue, 8 Aug 2017 22:00:20 +0000 (15:00 -0700)
committerArmin Ronacher <armin.ronacher@active-4.com>
Wed, 9 Aug 2017 07:05:54 +0000 (09:05 +0200)
commit60a7e775d487c8de9f1b0f23c91ca9845c161fc2
tree05218ef77ebf75819f6f2a43aef22f82bad01f62
parent3f49ba22da84253d11f969e43ac6a1ebbb4524ba
Fix regression in 2.9 involving unsafe Context.get_all() usage

Since commit d67f0fd4cc2a4af08f51f4466150d49da7798729, callers
of Context.get_all() need to make a copy it they're going to
modify the result.

Fixes: d67f0fd4cc2a ("Generalize scoping. This fixes #603")
jinja2/debug.py