From d05dbf7c55141916db2b8edb1adce20080a8454a Mon Sep 17 00:00:00 2001 From: "j. mccann" Date: Thu, 4 Apr 2019 16:53:45 -0400 Subject: [PATCH] Properly escape release attachment URL 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 9df2f6cb81bc5..c57a180873948 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}}