mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
validate schema of new canonical alias events sent by clients
Previously, we would only attempt to validate the aliases in the event content if we were able to parse the event, and would silently allow it otherwise.
This commit is contained in:
parent
c748c7c188
commit
051221c0ab
2 changed files with 34 additions and 25 deletions
|
|
@ -225,6 +225,9 @@ This will be the first release of Grapevine since it was forked from Conduit
|
|||
instead of 400 M_FORBIDDEN when trying to set a canonical alias that does
|
||||
not exist.
|
||||
([!158](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/158))
|
||||
26. Validate schema of new `m.room.canonical_alias` event sent by clients,
|
||||
rather than silently allowing any contents if the event can't be parsed.
|
||||
([!158](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/158))
|
||||
|
||||
### Added
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue