mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-22 09:08:20 +02: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>