Details
-
Bug
-
Resolution: Unresolved
-
High
-
5.1, 5.2-dev
-
Server OS: Red Hat 6.4
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 20
Description
Uploading a file to an image field in public api, with a size bigger than what it is allowed to on the class is possible, and it shouldn't be, also, it uploads any kind of file (tested with txt file).
Steps to reproduce: (with public api) 1 - create a class: Name: Image Class Identifier: image_class Add 'ezstring' field: Name: Name Identifier: name Add 'ezimage' field: Name: Image Identifier: image Max File Size: 1024 * 1024 (1MB) 2 - create "Image Class" object Upload a non image file >1MB 3 - Verify no error nor exception is displayed