summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-16 18:25:28 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-17 14:28:54 +0000
commita5213df1f7448c1810e6ae842448c81abe57ba69 (patch)
tree0526323ebbb920ed95b9e6a93b1cca8a4005deba /tests
parentMerge pull request #2792 from matrix-org/rav/optimise_logging_context (diff)
downloadsynapse-a5213df1f7448c1810e6ae842448c81abe57ba69.tar.xz
Sanity checking for user ids
Check the user_id passed to a couple of APIs for validity, to avoid
"IndexError: list index out of range" exception which looks scary and results
in a 500 rather than a more useful error.

Fixes #1432, among other things
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions