mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-16 12:24:56 +02:00
Fix: decode filename as utf8 on upload
This commit is contained in:
parent
8243da69f6
commit
a3642b204d
1 changed files with 4 additions and 1 deletions
|
@ -148,7 +148,10 @@ class Server {
|
|||
this.server = http.createServer(app)
|
||||
|
||||
router.use(this.auth.cors)
|
||||
router.use(fileUpload())
|
||||
router.use(fileUpload({
|
||||
defCharset: 'utf8',
|
||||
defParamCharset: 'utf8'
|
||||
}))
|
||||
router.use(express.urlencoded({ extended: true, limit: "5mb" }));
|
||||
router.use(express.json({ limit: "5mb" }))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue