### Description as title, example:  looks related to https://github.com/go-gitea/gitea/pull/23421 /cc @wxiaoguang ### Gitea Version 1.20.0+dev-766-g6c8b680f9 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? ./gitea web ### Database None