mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-31 03:23:47 +02:00
Ported the function as-is and added comments so we don't forget about this in the future. Fixes: https://github.com/go-gitea/gitea/issues/29462