From 2551660f497e2a3cdb8f67768024ab9278e92261 Mon Sep 17 00:00:00 2001 From: mrsdizzie Date: Fri, 5 Apr 2019 13:00:20 -0400 Subject: [PATCH] Properly escape release attachment URL (#6512) (#6523) 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(-) diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 9df2f6cb81bc..c57a18087394 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}}