mirror of
https://gitee.com/gitea/gitea
synced 2025-11-04 00:20:25 +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