Fix:Sanitize filename to remove line breaks and check filename length is not too long #663

This commit is contained in:
advplyr 2022-06-01 20:14:10 -05:00
parent 36bd6e649a
commit c3b33ea37a
3 changed files with 43 additions and 13 deletions

View file

@ -21,7 +21,6 @@ class PodcastEpisodeDownload {
toJSONForClient() {
return {
id: this.id,
// podcastEpisode: this.podcastEpisode ? this.podcastEpisode.toJSON() : null,
episodeDisplayTitle: this.podcastEpisode ? this.podcastEpisode.bestFilename : null,
url: this.url,
libraryItemId: this.libraryItem ? this.libraryItem.id : null,