Closed Chiiruno closed 5 years ago
https://github.com/bakape/thumbnailer/blob/0b14c8002954c7a013b38bdb40e6ee10f3ed2c06/archives.go#L113 ext to lowercase will fix the issue
Since when are upper case extensions allowed?
You can upload an archive with uppercase extensions inside which I guess don't get checked by the thumbnailer the same way they normally do as single files.
There is no reason it should be rejected based on the extension, but I should also not accommodate user retardation.
On Tue, 12 Mar 2019 at 21:38, medukatheguca notifications@github.com wrote:
You can upload an archive with uppercase extensions which I guess doesn't get checked yet by the thumbnailer.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bakape/thumbnailer/issues/52#issuecomment-472150853, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfPsB_olDtba5HIflLwAAk7xyiAJfGcks5vWAIogaJpZM4brCdL .
Here's a reference of an archive of pngs and an archive of PNGs
PEBCAK
Yes, however it's a simple enough fix to accommodate said problem without a real performance penalty.