mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Allow files with no extensions by setting File::$allowed_extensions with an empty string (from r101051)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111573 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2ea0e3e331
commit
40091e6c4e
@ -48,7 +48,7 @@ class File extends DataObject {
|
||||
* @var array
|
||||
*/
|
||||
public static $allowed_extensions = array(
|
||||
'html','htm','xhtml','js','css',
|
||||
'','html','htm','xhtml','js','css',
|
||||
'bmp','png','gif','jpg','jpeg','ico','pcx','tif','tiff',
|
||||
'au','mid','midi','mpa','mp3','ogg','m4a','ra','wma','wav','cda',
|
||||
'avi','mpg','mpeg','asf','wmv','m4v','mov','mkv','mp4','swf','flv','ram','rm',
|
||||
|
Loading…
x
Reference in New Issue
Block a user