mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-30 04:52:46 +00:00
Add /send restrictions and return correct error codes (#1156)
* Add /send restrictions and return correct error codes - Max 50 PDUs / 100 EDUs - Fail the transaction when PDUs contain bad JSON * Update whitelist * Unbreak test * Linting
This commit is contained in:
parent
4220a374ca
commit
914f6cadce
5 changed files with 34 additions and 31 deletions
|
@ -317,6 +317,8 @@ Invalid JSON integers
|
|||
Invalid JSON special values
|
||||
Invalid JSON floats
|
||||
Outbound federation will ignore a missing event with bad JSON for room version 6
|
||||
Server correctly handles transactions that break edu limits
|
||||
Server rejects invalid JSON in a version 6 room
|
||||
Can download without a file name over federation
|
||||
POST /media/r0/upload can create an upload
|
||||
GET /media/r0/download can fetch the value again
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue