hackmdio / codimd

CodiMD - Realtime collaborative markdown notes on all platforms.
https://hackmd.io/c/codimd-documentation
GNU Affero General Public License v3.0
9.11k stars 1.05k forks source link

FIX: server crash when filename too long #1789

Closed galaxian85 closed 1 year ago

galaxian85 commented 1 year ago

I discovered server will crash when user trying to upload an image with filename too long. After study the code I found it's caused by formidable, the old version not handle IO error properly cause this problem.