From 8952cc00e89b8ee7312e710f0e80f00249ad9ee2 Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Thu, 6 Nov 2025 13:24:17 +0100 Subject: [PATCH] Allow http --- pkg/sanitize/sanitize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sanitize/sanitize.go b/pkg/sanitize/sanitize.go index 0d231d728..01d19aaa1 100644 --- a/pkg/sanitize/sanitize.go +++ b/pkg/sanitize/sanitize.go @@ -54,7 +54,7 @@ func getPolicy() *bluemonday.Policy { ) p.AllowAttrs("href").OnElements("a") - p.AllowURLSchemes("https") + p.AllowURLSchemes("http", "https") p.RequireParseableURLs(true) p.RequireNoFollowOnLinks(true) p.RequireNoReferrerOnLinks(true)