This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Improve validation of field size limits in events. #14664
Merged
Merged
Changes from 11 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0d3af6a
Introduce rejection reason for oversized events
reivilibre 49138f3
Introduce `strict` field on EventSizeError
reivilibre 48010ba
Make _check_size_limits use byte limits
reivilibre 51e6ed0
Persist events with non-strict event size errors as rejected
reivilibre 841a4e9
Also do that for the /send_join response
reivilibre e13d1b5
Add stricter pass of event size checking
reivilibre 897889d
Don't give any leniency in future room versions
reivilibre 0a41d90
strict -> unpersistable
reivilibre a5b243b
Newsfile
reivilibre c839469
Merge branch 'develop' into rei/event_size_fixes
reivilibre fcc7aa1
Fix hashable issue (introduced in develop since base of this PR)
reivilibre 775e6d3
Revert "Fix hashable issue (introduced in develop since base of this …
reivilibre 38cc083
strict -> unpersistable in comments
reivilibre 910fe06
Add leniency for MSC1767v10 (concurrently-introduced room version)
reivilibre 25d6793
Make msc3931_push_features a Tuple[str, ...] so it's hashable (1)
reivilibre 506f4ab
Accept the Tuple[str, ...] (2)
reivilibre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Improve validation of field size limits in events. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.