You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uploading images which filenames lack the extension seem to not be handled which causes lapis-chan to crash.
I'm kind of sure why it is happening and who to blame (I'm looking at you, yes you!) so this is more related to what to do with no-extension filenames rather than tweak some buggy code (although the latter is a must).
As a suggestion I think checking for image format headers won't hurt much :).
The text was updated successfully, but these errors were encountered:
Thanks, I know exactly what the issue is. As for format headers, I recall hearing that those aren't very reliable. Or maybe I am thinking of mime types. Anyway, I'd rather reject a malformed file than try to find a way to get it on the site. Attack vector, etc.
Uploading images which filenames lack the extension seem to not be handled which causes lapis-chan to crash.
I'm kind of sure why it is happening and who to blame (I'm looking at you, yes you!) so this is more related to what to do with no-extension filenames rather than tweak some buggy code (although the latter is a must).
As a suggestion I think checking for image format headers won't hurt much :).
The text was updated successfully, but these errors were encountered: