-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: We should check whether the IDs are thick - it protects us against an attacker who could try to create operations referencing thin thread entities. https://linear.app/comm/issue/ENG-9826/validate-the-ids-from-the-dm-operations Depends on D13848 Test Plan: Tested a couple of scenarios: - sending a text message - changing thread settings - editing a message - reacting to a message - creating a sidebar In the cases where another message was a target, tested that it works for both text and edit thread settings messages. Reviewers: kamil, angelika Reviewed By: kamil Subscribers: ashoat Differential Revision: https://phab.comm.dev/D13858
- Loading branch information
Showing
3 changed files
with
67 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters