mirror of https://github.com/watcha-fr/synapse
Hotfix: disable autoescape by default when rendering Jinja2 templates (#8394)
#8037 changed the default `autoescape` option when rendering Jinja2 templates from `False` to `True`. This caused some bugs, noticeably around redirect URLs being escaped in SAML2 auth confirmation templates, causing those URLs to break for users. This change returns the previous behaviour as it stood. We may want to look at each template individually and see whether autoescaping is a good idea at some point, but for now lets just fix the breakage.code_spécifique_watcha
parent
d191dbdaa6
commit
3f4a2a7064
@ -0,0 +1 @@ |
|||||||
|
Fix URLs being accidentally escaped in Jinja2 templates. Broke in v1.20.0. |
Loading…
Reference in new issue