Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: server crash when filename too long #1789

Merged

Conversation

galaxian85
Copy link
Contributor

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.

@galaxian85 galaxian85 force-pushed the bugfix/invalid-filename-cause-crash branch 2 times, most recently from f837fe4 to 0471546 Compare January 13, 2023 02:40
Signed-off-by: Charlie Hsieh <gasbomb_tw@hotmail.com>
Signed-off-by: Charlie Hsieh <gasbomb_tw@hotmail.com>
@galaxian85 galaxian85 force-pushed the bugfix/invalid-filename-cause-crash branch from 0471546 to 1ab2a36 Compare January 13, 2023 08:29
@a60814billy a60814billy merged commit 19f494d into hackmdio:develop Jan 13, 2023
@stanley2058 stanley2058 mentioned this pull request Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants