diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-05-22 11:31:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 11:31:22 -0400 |
commit | c5d1e6d414fa7b4074bc72ca3719c1341a1c5379 (patch) | |
tree | 162a4c96efbb420bcfc3faa9b242b28868624580 /changelog.d | |
parent | Bump pygithub from 1.58.1 to 1.58.2 (#15643) (diff) | |
download | synapse-c5d1e6d414fa7b4074bc72ca3719c1341a1c5379.tar.xz |
Properly parse event_fields in filters (#15607)
The event_fields property in filters should use the proper escape rules, namely backslashes can be escaped with an additional backslash. This adds tests (adapted from matrix-js-sdk) and implements the logic to properly split the event_fields strings.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/15607.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15607.bugfix b/changelog.d/15607.bugfix new file mode 100644 index 0000000000..a2767adbe2 --- /dev/null +++ b/changelog.d/15607.bugfix @@ -0,0 +1 @@ +Fix a long-standing bug where filters with multiple backslashes were rejected. |