mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Changed default config to restrict file-upload types to ADMINs, since it's protecting against security holes. (from r93327) (from r96759)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102390 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
679d48c2ff
commit
ca29cc367c
@ -66,7 +66,7 @@ class File extends DataObject {
|
||||
* $allowed_extensions will be applied to users with admin privileges as
|
||||
* well.
|
||||
*/
|
||||
public static $apply_restrictions_to_admin = false;
|
||||
public static $apply_restrictions_to_admin = true;
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user