forked from gitea/gitea

- Fixes #24578 # Before  # After  Signed-off-by: Yarden Shoham <git@yardenshoham.com>