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
It is possible to upload empty (0KB) files either directly or through "watched folders".
Empty files may occur if another application corrupts the files during processing.
To handle these situations, it’s best to skip empty files entirely. Currently, Ente attempts to import such files but cannot generate thumbnails for them.
This behavior can be reproduced easily by creating a new empty text file and renaming it to empty.jpg.
To prevent similar issues, I recommend validating files by checking their magic bytes (see Wikipedia: List of file signatures) before uploading. This helps ensure that files with incorrect extensions don’t enter your system.
For instance, it’s possible to rename any file to photo.jpg and upload it, even if the file isn’t a valid photo (like a ZIP or EXE).
Version
v1.7.8
What product are you using?
Ente Photos
What platform are you using?
Desktop - Windows
The text was updated successfully, but these errors were encountered:
Description
It is possible to upload empty (0KB) files either directly or through "watched folders".
Empty files may occur if another application corrupts the files during processing.
To handle these situations, it’s best to skip empty files entirely. Currently, Ente attempts to import such files but cannot generate thumbnails for them.
This behavior can be reproduced easily by creating a new empty text file and renaming it to
empty.jpg
.To prevent similar issues, I recommend validating files by checking their magic bytes (see Wikipedia: List of file signatures) before uploading. This helps ensure that files with incorrect extensions don’t enter your system.
For instance, it’s possible to rename any file to
photo.jpg
and upload it, even if the file isn’t a valid photo (like a ZIP or EXE).Version
v1.7.8
What product are you using?
Ente Photos
What platform are you using?
Desktop - Windows
The text was updated successfully, but these errors were encountered: