From 4d9956cf658d7a970654ae3baf23ad995e287525 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 2 Jan 2020 11:06:57 -0800 Subject: Make sure external URLs are not encoded incorrectly by Go template engine --- template/html/choose_subscription.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/html/choose_subscription.html') diff --git a/template/html/choose_subscription.html b/template/html/choose_subscription.html index ee4a1dc..de33003 100644 --- a/template/html/choose_subscription.html +++ b/template/html/choose_subscription.html @@ -32,8 +32,8 @@ {{ range .subscriptions }}
- ({{ .Type }}) - {{ .URL }} + ({{ .Type }}) + {{ .URL | safeURL }}
{{ end }} -- cgit v1.2.3