anonymousland-synapse/synapse
Andrew Morgan 3f4a2a7064
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.
2020-09-24 16:24:08 +01:00
..
_scripts Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
app Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
appservice Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
config Hotfix: disable autoescape by default when rendering Jinja2 templates (#8394) 2020-09-24 16:24:08 +01:00
crypto Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
events Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
federation 1.19.3 2020-09-18 10:53:01 -04:00
groups Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
handlers Intelligently select extremities used in backfill. (#8349) 2020-09-18 14:25:52 +01:00
http Fix the exception that is raised when invalid JSON is encountered. (#8291) 2020-09-10 14:55:25 -04:00
logging Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
metrics Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
module_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push Only add rows to the push actions table if the event notifies or should be marked unread (#8274) 2020-09-07 16:56:27 +01:00
replication Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
res/templates Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
rest Add flags to /versions about whether new rooms are encrypted by default. (#8343) 2020-09-18 07:56:20 -04:00
server_notices Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
spam_checker_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
state Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Intelligently select extremities used in backfill. (#8349) 2020-09-18 14:25:52 +01:00
streams Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
util Fix the exception that is raised when invalid JSON is encountered. (#8291) 2020-09-10 14:55:25 -04:00
__init__.py 1.20.0 2020-09-22 15:18:31 +01:00
event_auth.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
notifier.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
python_dependencies.py Revert pinning of setuptools (#8239) 2020-09-03 09:45:36 -04:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Fix ratelimiting for federation /send requests. (#8342) 2020-09-18 10:49:29 +01:00
types.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
visibility.py Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00