summary refs log tree commit diff
path: root/changelog.d/13746.bugfix
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-09-08 15:54:36 +0100
committerGitHub <noreply@github.com>2022-09-08 15:54:36 +0100
commit8ef0c8ff14fcf613c5df1cfc30b38236de1695a7 (patch)
tree228041c6b7c3f40091af55fcd786bfdb971006cd /changelog.d/13746.bugfix
parentFix cache metrics not being updated when not using the legacy exposition modu... (diff)
downloadsynapse-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.bugfix1
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.