File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 8181 input field was translated. (Reported by Ludwig Reiter. John
8282 Rouillard)
8383- Document security issues in xmlrpc interface in doc/xmlrpc.txt.
84- - Fixed escaping and encoding issues in jinja2 template. (Report:
85- John Rouillard; Fix: Christof Meerwald)
84+ - Enable autoescape in the jinja2 template and use the i18n extension
85+ for translations. (Report: John Rouillard; Fix: Christof Meerwald)
8686
87872019-10-23 2.0.0 alpha 0
8888
Original file line number Diff line number Diff line change @@ -258,6 +258,20 @@ diff/merge these changes into your responsive template based tracker.
258258Jinja template changes
259259----------------------
260260
261+ Auto escaping has been enabled in the jinja template engine, this
262+ means it is no longer necessary to manually escape dynamic strings
263+ with "|e", but strings that should not be escaped need to be marked
264+ with "|safe" (e.g. "{{ context.history()|u|safe }}"). Also, the i18n
265+ extension has been enabled and the template has been updated to use
266+ the extension for translatable text instead of explicit "i18n.gettext"
267+ calls:
268+
269+ {% trans %}List of issues{% endtrans %}
270+
271+ instead of
272+
273+ {{ i18n.gettext('List of issues')|u }}
274+
261275The jinja template has been upgraded to use bootstrap 4.1.3 (from
2622762.2.2). You can diff/merge changes into your jinja template based
263277tracker.
You can’t perform that action at this time.
0 commit comments