Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Escape eventIds in CS API requests #261

Closed
manuroe opened this issue Feb 8, 2019 · 1 comment
Closed

Escape eventIds in CS API requests #261

manuroe opened this issue Feb 8, 2019 · 1 comment

Comments

@manuroe
Copy link
Member

manuroe commented Feb 8, 2019

Event IDs in room version 3 can now include hashes in them according to MSC1659.

APIs that must be checked:

/admin/purge_history/(?P<room_id>[^/]*)(/(?P<event_id>[^/]+))?
/events/(?P<event_id>[^/]*)$
/rooms/(?P<room_id>[^/]*)/report/(?P<event_id>[^/]*)$
/rooms/(?P<room_id>[^/]*)/event/(?P<event_id>[^/]*)$
/rooms/(?P<room_id>[^/]*)/context/(?P<event_id>[^/]*)$
/rooms/(?P<room_id>[^/]*)/redact/(?P<event_id>[^/]*)
/rooms/(?P<room_id>[^/]*)/receipt/(?P<receipt_type>[^/]*)/(?P<event_id>[^/]*)$
@turt2live
Copy link
Member

we should double-check these for riot-web as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants