kumarsivarajan / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

allowed_file_upload_types not working in V2 #504

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in $CONFIGURATION set "allowed_file_upload_types" => array("jpg")
2. attempt to upload any non-jpg files
3.

What is the expected output? What do you see instead?
-expected: block all but jpgs
-actual: all file types uploaded

What version of the product are you using? On what operating system?
-V2.2.9 on FreeBSD, client is Chrome/IE10 on Win7x64

Please provide any additional information below.
-have this working under V1.8.9.3 on the same setup
-have tried ".jpg" vs "jpg", have tried other file types with similar results...

Original issue reported on code.google.com by fallah...@gmail.com on 27 Nov 2013 at 1:34

GoogleCodeExporter commented 8 years ago
This is one of things that has not been transferred from 1.8 version. I'll add 
this.

Original comment by samuli.j...@gmail.com on 28 Nov 2013 at 6:09

GoogleCodeExporter commented 8 years ago
also fails to preview images or right click on the file extension jpeg pictures 
except

Original comment by r2gale...@gmail.com on 9 Dec 2013 at 7:03

GoogleCodeExporter commented 8 years ago
For #2, preview is not related to this at all, it should be handled via 
separate issue. Usually preview/view problems are due to missing "host public 
address" setting in configuration.php, but of course you should check the error 
log if there are some other problems.

Original comment by samuli.j...@gmail.com on 10 Dec 2013 at 9:07

GoogleCodeExporter commented 8 years ago
Version 2.3 has support for allowed and forbidden upload file types

Original comment by samuli.j...@gmail.com on 29 Dec 2013 at 8:42