mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-31 11:54:46 +02:00
Fixes #21434 Added tests to enforce this behaviour. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>