forked-synapse/changelog.d
Brendan Abolivier 504c8f3483
Fix handling of "off" in encryption_enabled_by_default_for_room_type (#7822)
Fixes https://github.com/matrix-org/synapse/issues/7821, introduced in https://github.com/matrix-org/synapse/pull/7639

Turns out PyYAML translates `off` into a `False` boolean if it's
unquoted (see https://stackoverflow.com/questions/36463531/pyyaml-automatically-converting-certain-keys-to-boolean-values),
which seems to be a liberal interpretation of this bit of the YAML spec: https://yaml.org/spec/1.1/current.html#id864510

An alternative fix would be to implement the solution mentioned in the
SO post linked above, but I'm aware it might break existing setups
(which might use these values in the configuration file) so it's
probably better just to add an extra check for this one. We should be
aware that this is a thing for the next times we do that though.

I didn't find any other occurrence of this bug elsewhere in the
codebase.
2020-07-13 17:14:42 +01:00
..
.gitignore
6455.feature Include room states on invite events sent to ASes (#6455) 2020-07-10 18:44:56 +01:00
7798.feature Add ability to shard the federation sender (#7798) 2020-07-10 18:26:36 +01:00
7802.misc Do not use canonicaljson to magically handle decoding bytes from JSON. (#7802) 2020-07-10 14:30:08 -04:00
7813.misc Add types to the server code and remove unused parameter (#7813) 2020-07-10 14:28:42 -04:00
7815.bugfix Fix resync remote devices on receive PDU in worker mode. (#7815) 2020-07-10 18:23:17 +01:00
7817.bugfix Fix recursion error when fetching auth chain over federation (#7817) 2020-07-10 18:15:35 +01:00
7822.bugfix Fix handling of "off" in encryption_enabled_by_default_for_room_type (#7822) 2020-07-13 17:14:42 +01:00