mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-27 13:26:24 +08:00

Fix #31707. It's split from #31724. Although #31724 could also fix #31707, it has change a lot so it's not a good idea to backport it.
Fix #31707. It's split from #31724. Although #31724 could also fix #31707, it has change a lot so it's not a good idea to backport it.