From 9e095a4bc11d176f97e1c71661360234ce4ef89a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Bostr=C3=B6m?= <20281979+Bostrolicious@users.noreply.github.com> Date: Sat, 21 Jan 2023 21:51:05 +0100 Subject: [PATCH] Fix HTTP links not working in podcast show notes. --- server/utils/htmlSanitizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/htmlSanitizer.js b/server/utils/htmlSanitizer.js index cdb3cfb0..35421f4f 100644 --- a/server/utils/htmlSanitizer.js +++ b/server/utils/htmlSanitizer.js @@ -10,7 +10,7 @@ function sanitize(html) { allowedAttributes: { a: ['href', 'name', 'target'] }, - allowedSchemes: ['https'], + allowedSchemes: ['http', 'https'], allowProtocolRelative: false }