Closed (fixed)
Project:
FileField
Version:
6.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2007 at 19:22 UTC
Updated:
3 Aug 2007 at 10:47 UTC
Caused by the file extension check which is done with an in_array($extension, explode('.', $filename)): Any files can be uploaded when the filename contains a defined extension between two dots. It doesn't necessarily need to occur at the end of the filename, which is where the bug lies (but then, cases like "tar.gz" should also be considered).
Which is bad - I think this can be regarded as critical bug.
Comments
Comment #1
jpetso commentedFixed in filefield HEAD with commit #74242, together with issue 155398. One grave bug less, yay.
Comment #2
(not verified) commented