From b2b3225bd1f6d6ff519d7a464c7fcf7ff0c6bdcc Mon Sep 17 00:00:00 2001 From: zeripath Date: Fri, 11 Feb 2022 05:02:04 +0000 Subject: Prevent double encoding of branch names in delete branch (#18714) * Prevent double encoding of branch names in delete branch There is a double encoding issue in branch template whereby the branch name ends up double encoded. Fix #18709 Signed-off-by: Andrew Thornton * and tag name Signed-off-by: Andrew Thornton * And fix #18704 Signed-off-by: Andrew Thornton Co-authored-by: Lunny Xiao --- templates/repo/release/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/repo/release/list.tmpl') diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 26d78df3cc..956c60ad78 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -40,7 +40,7 @@ {{svg "octicon-file-zip" 16 "mr-2"}}ZIP {{svg "octicon-file-zip" 16 "mr-2"}}TAR.GZ {{if (and $.CanCreateRelease $release.IsTag)}} - {{svg "octicon-tag" 16 "mr-2"}}{{$.i18n.Tr "repo.release.new_release"}} + {{svg "octicon-tag" 16 "mr-2"}}{{$.i18n.Tr "repo.release.new_release"}} {{end}} {{if (and ($.Permission.CanWrite $.UnitTypeCode) $release.IsTag)}} -- cgit v1.2.3