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
I am trying to upload an image using fUpload but it fails because fUpload thinks it's not a JPEG type.
I traced the class and noticed that it calls fFile::determineMimeTypeByContents which reads the file headers. Well I found a jpeg file which has different headers but it is a jpeg image.
If I open and saveAs this file from MsPaint then it is properly detected.
Here is a screenshot with my hex editor, first XVI window contains the jpg which can't be recognized. The second window is a "Save As" from IrfanView.
The text was updated successfully, but these errors were encountered:
I am trying to upload an image using fUpload but it fails because fUpload thinks it's not a JPEG type.
I traced the class and noticed that it calls fFile::determineMimeTypeByContents which reads the file headers. Well I found a jpeg file which has different headers but it is a jpeg image.
If I open and saveAs this file from MsPaint then it is properly detected.
Here is a screenshot with my hex editor, first XVI window contains the jpg which can't be recognized. The second window is a "Save As" from IrfanView.
The text was updated successfully, but these errors were encountered: