mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 18:59:25 +02:00
Fix:Sanitize filename to remove line breaks and check filename length is not too long #663
This commit is contained in:
parent
36bd6e649a
commit
c3b33ea37a
3 changed files with 43 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue