forked-synapse/synapse/handlers
Richard van der Hoff a5213df1f7 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
2018-01-17 14:28:54 +00:00
..
__init__.py Split out profile handler to fix tests 2017-08-25 14:34:56 +01:00
_base.py Add per user ratelimiting overrides 2017-05-10 11:05:43 +01:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py admin,storage: added more administrator functionalities 2017-02-02 14:02:26 +01:00
appservice.py Metrics for events processed in appservice and fed sender 2018-01-15 18:23:24 +00:00
auth.py Merge pull request #2773 from matrix-org/erikj/hash_bg 2018-01-10 18:11:41 +00:00
deactivate_account.py Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
device.py Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
devicemessage.py Sanity checking for user ids 2018-01-17 14:28:54 +00:00
directory.py spam check room publishing 2017-10-04 14:29:33 +01:00
e2e_keys.py Sanity checking for user ids 2018-01-17 14:28:54 +00:00
events.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
federation.py s/items/iteritems/ 2017-11-08 09:21:41 +00:00
groups_local.py fix order of operations derp and also use .get to default to {} 2018-01-10 15:11:35 +00:00
identity.py Revert accidental commit 2017-04-26 11:43:16 +01:00
initial_sync.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00
message.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
presence.py typo 2017-11-17 01:54:02 +00:00
profile.py fix pep8 and tests 2017-12-04 15:11:38 +00:00
read_marker.py m.read_marker -> m.fully_read (#2128) 2017-04-18 17:46:15 +01:00
receipts.py fix a logcontext leak in read receipt handling 2017-10-11 14:37:20 +01:00
register.py Merge pull request #2773 from matrix-org/erikj/hash_bg 2018-01-10 18:11:41 +00:00
room_list.py Reshuffle room list request code 2017-11-14 10:29:58 +00:00
room_member.py Copy dict in update_membership too 2017-12-07 14:17:15 +00:00
room.py PEP8 2017-11-28 15:23:26 +00:00
search.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
set_password.py Do bcrypt hashing in a background thread 2018-01-10 18:01:28 +00:00
sync.py Do logcontexts outside ResponseCache 2017-10-25 15:21:08 +01:00
typing.py Fix typing tests 2017-05-26 10:02:04 +01:00
user_directory.py speed up the rate of initial spam for users 2017-12-04 18:05:28 +00:00