Closed
Description
Description
When everything is right:
https://gitea.com/gitea/blog
-> 200https://gitea.com/gitea%2Fblog
-> 404
However:
https://gitea.com/gitea%2Fblog/
-> 200
It is caused by a bug in middleware.StripSlashes
of chi, see go-chi/chi#799
We don't have to wait for it to be fixed in upstream, it can be fixed in #21333 by dropping middleware.StripSlashes
.
Gitea Version
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
command
Database
None