forked-synapse/synapse/config
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
..
__init__.py Let synctl use a config directory. (#5904) 2019-08-28 15:55:58 +01:00
__main__.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
_base.py Hotfix: disable autoescape by default when rendering Jinja2 templates (#8394) 2020-09-24 16:24:08 +01:00
_base.pyi Revert "Add experimental support for sharding event persister. (#8170)" (#8242) 2020-09-04 10:19:42 +01:00
_util.py Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
api.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
appservice.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
cache.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
captcha.py
cas.py
consent_config.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
database.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
emailconfig.py Use the default templates when a custom template file cannot be found (#8037) 2020-08-17 17:05:00 +01:00
federation.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
groups.py
homeserver.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
jwt_config.py Add the option to validate the iss and aud claims for JWT logins. (#7827) 2020-07-14 07:16:43 -04:00
key.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
logger.py Move setting of Filter into code. 2020-08-11 18:10:46 +01:00
metrics.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
oidc_config.py fix broken link in sample config (#7712) 2020-06-16 19:50:16 +01:00
password_auth_providers.py
password.py
push.py Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00
ratelimiting.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
redis.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
registration.py Various improvements to the docs (#7899) 2020-07-29 10:35:44 -04:00
repository.py Support running multiple media repos. (#7706) 2020-06-17 14:13:30 +01:00
room_directory.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
room.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
saml2_config.py Hotfix: disable autoescape by default when rendering Jinja2 templates (#8394) 2020-09-24 16:24:08 +01:00
server_notices_config.py
server.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
spam_checker.py
sso.py Use the default templates when a custom template file cannot be found (#8037) 2020-08-17 17:05:00 +01:00
stats.py
third_party_event_rules.py
tls.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
tracer.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
user_directory.py
voip.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
workers.py Revert "Add experimental support for sharding event persister. (#8170)" (#8242) 2020-09-04 10:19:42 +01:00