Reduced version of #776, without the new tests. Fixes #771. Reviewed-on: https://gitea.com/gitea/tea/pulls/778 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Kirill Müller <kirill@cynkra.com> Co-committed-by: Kirill Müller <kirill@cynkra.com>
3.1 KiB
3.1 KiB