Form tool data type image does not validate filtype on upload

Description

Form tool data type image does not validate filtype on upload, only jpg, png and gif should "pass through".

Environment

All

Activity

Blair McKenzie December 1, 2010 at 6:48 AM

The formtool has supported the ftAllowedExtensions for some time - not sure from when, but I can confirm that it is working as of the revision.

MvdO79 July 8, 2009 at 3:29 PM

Using FC 5.1.6 and fttype="image" i can upload an .bmp file without any validation error.

I also searched my entire farcry core folder for "ftAcceptMimeType", it's not found so i assume this is still to be fixed.

Matthew Bryant March 19, 2008 at 11:29 PM

need to add ftAcceptMimeType to file and image fields. The validate function then needs to check mimetype of upload to metadata.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 28, 2008 at 1:35 PM
Updated December 1, 2010 at 6:48 AM
Resolved December 1, 2010 at 6:48 AM