mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-26 08:08:57 +00:00
Backport #33888 by @wxiaoguang Fix #33886 Restore the old logic from #16510, which was incorrectly removed by #33678 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>