diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-09-08 15:54:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 15:54:36 +0100 |
commit | 8ef0c8ff14fcf613c5df1cfc30b38236de1695a7 (patch) | |
tree | 228041c6b7c3f40091af55fcd786bfdb971006cd /changelog.d/13746.bugfix | |
parent | Fix cache metrics not being updated when not using the legacy exposition modu... (diff) | |
download | synapse-8ef0c8ff14fcf613c5df1cfc30b38236de1695a7.tar.xz |
Fix error in `is_mine_id` when encountering a malformed ID (#13746)
Previously, `is_mine_id` would raise an exception when passed an ID with no colons. Return `False` instead. Fixes #13040. Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'changelog.d/13746.bugfix')
-rw-r--r-- | changelog.d/13746.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13746.bugfix b/changelog.d/13746.bugfix new file mode 100644 index 0000000000..b692af8fd5 --- /dev/null +++ b/changelog.d/13746.bugfix @@ -0,0 +1 @@ +Fix a long standing bug where Synapse would fail to handle malformed user IDs or room aliases gracefully in certain cases. |