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)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96759 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
332ddb700a
commit
da2f90d187
@ -66,7 +66,7 @@ class File extends DataObject {
|
|||||||
* $allowed_extensions will be applied to users with admin privileges as
|
* $allowed_extensions will be applied to users with admin privileges as
|
||||||
* well.
|
* well.
|
||||||
*/
|
*/
|
||||||
public static $apply_restrictions_to_admin = false;
|
public static $apply_restrictions_to_admin = true;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user