mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Merge pull request #1515 from dwtong/encode-podcast-url
Encode podcast url when downloading episode
This commit is contained in:
commit
388444e51f
@ -50,7 +50,7 @@ class PodcastEpisodeDownload {
|
|||||||
setData(podcastEpisode, libraryItem, isAutoDownload) {
|
setData(podcastEpisode, libraryItem, isAutoDownload) {
|
||||||
this.id = getId('epdl')
|
this.id = getId('epdl')
|
||||||
this.podcastEpisode = podcastEpisode
|
this.podcastEpisode = podcastEpisode
|
||||||
this.url = podcastEpisode.enclosure.url
|
this.url = encodeURI(podcastEpisode.enclosure.url)
|
||||||
this.libraryItem = libraryItem
|
this.libraryItem = libraryItem
|
||||||
this.isAutoDownload = isAutoDownload
|
this.isAutoDownload = isAutoDownload
|
||||||
this.createdAt = Date.now()
|
this.createdAt = Date.now()
|
||||||
|
Loading…
Reference in New Issue
Block a user