Search

Feedback

Attempting to upload .png files results in 500 Internal Server Error

Moebeus

Retired Editor
Posts: 175

Moebeus @ 2017-05-27 09:33:42 UTC

It could be an idea to either A) block png files from the filepicker B) Inform the user via text that only jpegs are allowed or C) allow for pictures in the png format.


thx!

Mathieu

Manager
Posts: 7289

Mathieu @ 2017-05-28 18:18:11 UTC

PNG shouldn't be a problem. Can you give me some more details?

Moebeus

Retired Editor
Posts: 175

Moebeus @ 2017-05-28 20:01:34 UTC

I can try to provoke it. First I'll uploading a png to this comment.


EDIT: That crashes (as the screenshot shows, but the error is handled. When I try to attach a png to a cover submission the error is unhandled (getting the 500 Internal Server)


Attachments:

Moebeus

Retired Editor
Posts: 175

Moebeus @ 2017-05-28 20:07:37 UTC

Another Test: simply changing the extension of a jpeg to png


Attachments:

Moebeus

Retired Editor
Posts: 175

Moebeus @ 2017-05-28 20:10:14 UTC

Last test: Renaming a png to jpg

This test fails, the uploader really checks the file header and rejects png's.

Mathieu

Manager
Posts: 7289

Mathieu @ 2017-06-01 19:31:04 UTC

Seems to work for me. Can you send that PNG file to me by e-mail? You can find it in my profile.