mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 19:03:26 +08:00

Fix some bugs from #25715, fix #25830 1. `$.locale.Tr ... Safe` needs `Escape`, but not `PathEscapeSegments` 2. The attribute should be `role` 3. The `ComposeBranchCompareURL` already does escaping correctly