mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-11 11:35:52 +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>