mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 17:59:06 +02:00
Fix:Adding podcast and filename sanitize func #1290
This commit is contained in:
parent
b7abd372e4
commit
8f49aae979
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ Vue.prototype.$sanitizeFilename = (filename, colonReplacement = ' - ') => {
|
|||
const windowsTrailingRe = /[\. ]+$/
|
||||
const lineBreaks = /[\n\r]/g
|
||||
|
||||
sanitized = filename
|
||||
let sanitized = filename
|
||||
.replace(':', colonReplacement) // Replace first occurrence of a colon
|
||||
.replace(illegalRe, replacement)
|
||||
.replace(controlRe, replacement)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue