mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-01 17:24:10 +01:00
Allow 200s also for non-existing rooms
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
0eb091576d
commit
fd9989820a
|
|
@ -105,9 +105,9 @@ paths:
|
|||
the appropriate people. The caller must be joined to the room to report
|
||||
it.
|
||||
|
||||
Clients could infer whether a reported event exists based on the 404 response.
|
||||
Homeservers that wish to conceal this information MAY return 200 responses
|
||||
regardless of the existence of the reported event.
|
||||
Clients could infer whether a reported event or room exists based on the 404
|
||||
response. Homeservers that wish to conceal this information MAY return 200
|
||||
responses regardless of the existence of the reported event or room.
|
||||
|
||||
Furthermore, it might be possible for clients to deduce whether a reported
|
||||
event exists by timing the response. This is because only a report for an
|
||||
|
|
@ -150,8 +150,8 @@ paths:
|
|||
This endpoint now requires the user to be joined to the room.
|
||||
1.18: |
|
||||
The `score` request parameter was removed. Additionally, servers
|
||||
may prevent event ID enumeration by using the 200 response
|
||||
regardless of the existence of the reported event.
|
||||
may prevent event/room ID enumeration by using the 200 response
|
||||
regardless of the existence of the reported event/room.
|
||||
responses:
|
||||
"200":
|
||||
description: The event has been reported successfully.
|
||||
|
|
|
|||
Loading…
Reference in a new issue