mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix: decode filename as utf8 on upload
This commit is contained in:
		
							parent
							
								
									8243da69f6
								
							
						
					
					
						commit
						a3642b204d
					
				| @ -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…
	
		Reference in New Issue
	
	Block a user