From ca29cc367c0881660580df427bb8bc5dd9d95965 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 12 Apr 2010 03:13:41 +0000 Subject: [PATCH] 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 --- filesystem/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/File.php b/filesystem/File.php index 0fa24a831..8ec3b3d23 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -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; /**