Merge pull request #1515 from dwtong/encode-podcast-url

Encode podcast url when downloading episode
This commit is contained in:
advplyr 2023-02-20 17:26:33 -06:00 committed by GitHub
commit 388444e51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()