From c3e7fc80023d47e1dce378d267da4201df45c306 Mon Sep 17 00:00:00 2001 From: mpl Date: Wed, 4 Oct 2017 18:41:26 +0200 Subject: [PATCH] app/publisher: remove useless urlquery escaper According to https://golang.org/pkg/html/template/#ErrorCode (ErrPredefinedEscaper), the template engine already performs sanitization equivalent to urlquery on any pipeline, and therefore makes this extra urlquery call unnecessary, and even maybe harmful. Change-Id: I7fcce395bf015b64022d1ac66b42069cdefb69eb --- app/publisher/gallery.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/publisher/gallery.html b/app/publisher/gallery.html index 690d0d2b7..56ca12ef0 100644 --- a/app/publisher/gallery.html +++ b/app/publisher/gallery.html @@ -25,7 +25,7 @@ {{else}} {{if $membersData := call .Members}} -
{{$membersData.ZipName}}
+
{{$membersData.ZipName}}
{{end}}