Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A missing trailing slash should be a 404. #1323

Merged
merged 1 commit into from
Dec 8, 2022
Merged

Conversation

clokep
Copy link
Member

@clokep clokep commented Dec 6, 2022

MSC3743 says that unknown endpoints are a 404, not a 400.

The other related tests to me I think a bit harder to decide if they should be a 400 or not, but I think the initial slash missing is clearly just an unknown endpoint.

@clokep clokep marked this pull request as ready for review December 6, 2022 17:45
@clokep clokep requested a review from a team as a code owner December 6, 2022 17:45
@clokep
Copy link
Member Author

clokep commented Dec 7, 2022

(This is for matrix-org/synapse#14621)

@clokep clokep merged commit 2e67c9b into develop Dec 8, 2022
@clokep clokep deleted the clokep/std-err-1 branch December 8, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants