diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-01-16 18:25:28 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-01-17 14:28:54 +0000 |
commit | a5213df1f7448c1810e6ae842448c81abe57ba69 (patch) | |
tree | 0526323ebbb920ed95b9e6a93b1cca8a4005deba /synapse/push/rulekinds.py | |
parent | Merge pull request #2792 from matrix-org/rav/optimise_logging_context (diff) | |
download | synapse-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 'synapse/push/rulekinds.py')
0 files changed, 0 insertions, 0 deletions