e7b89888e1
A part of https://github.com/go-gitea/gitea/pull/22865/commits The old code will cause 500 error.
A part of https://github.com/go-gitea/gitea/pull/22865/commits The old code will cause 500 error.