From 0bdd81df9d6f13752b93dbcce19a4f703ad43fc2 Mon Sep 17 00:00:00 2001 From: mrsdizzie Date: Fri, 5 Apr 2019 11:28:10 -0400 Subject: Properly escape release attachment URL (#6512) Make sure file attachments on a release get a properly escaped URL when linking. Fixes #6506 --- templates/repo/release/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 9df2f6cb81..c57a180873 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -77,7 +77,7 @@ {{if .Attachments}} {{range $attachment := .Attachments}}
  • - + {{$attachment.Name}} {{$attachment.Size | FileSize}} -- cgit v1.2.3