element-hq / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://element-hq.github.io/synapse
GNU Affero General Public License v3.0
1.6k stars 201 forks source link

Documentation for worker routing has incorrect path #17926

Open kosmos opened 1 week ago

kosmos commented 1 week ago

Description

It seems to me that the documentation contains an incorrect routing for the endpoint:

^/_matrix/client/(r0|v3|unstable)/keys/upload/

If you look at the matrix specification, this routing should be defined as follows:

^/_matrix/client/(r0|v3|unstable)/keys/upload$

Steps to reproduce

Compare the specification and documentation:

erikjohnston commented 4 days ago

This looks like a typo in the documentation, and the trailing / should be removed (and replaced with $)