mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-22 07:45:26 +08:00

The bug has been fixed on v1.22 but not backport to v1.21. This original PR have many refactors so I don't think it's necessary to backport all of them. Fix #28667