From 956678c08c697eb24709a8280e5de02a876dbfe3 Mon Sep 17 00:00:00 2001 From: Dan Tong Date: Sat, 18 Feb 2023 14:21:45 +1300 Subject: [PATCH] Encode podcast url when downloading episode --- server/objects/PodcastEpisodeDownload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/objects/PodcastEpisodeDownload.js b/server/objects/PodcastEpisodeDownload.js index 8c6ee62d..38a371e5 100644 --- a/server/objects/PodcastEpisodeDownload.js +++ b/server/objects/PodcastEpisodeDownload.js @@ -50,7 +50,7 @@ class PodcastEpisodeDownload { setData(podcastEpisode, libraryItem, isAutoDownload) { this.id = getId('epdl') this.podcastEpisode = podcastEpisode - this.url = podcastEpisode.enclosure.url + this.url = encodeURI(podcastEpisode.enclosure.url) this.libraryItem = libraryItem this.isAutoDownload = isAutoDownload this.createdAt = Date.now()