matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.74k stars 673 forks source link

Dendrite returns improper error codes for unknown endpoints #2903

Closed clokep closed 1 year ago

clokep commented 1 year ago

Dendrite returns improper responses for unknown endpoints per MSC3743, see matrix-org/complement#565 for tests I'm adding for this.

Dendrite is:

clokep commented 1 year ago

Related: #2740

clokep commented 1 year ago

Tests can probably be re-enabled at https://github.com/matrix-org/complement/blob/778409aa2237e4e2fddb54e3fcdeb4a21d77674d/tests/unknown_endpoints_test.go#L41 😄

clokep commented 1 year ago

And I see you already did this at matrix-org/complement#630 🤦