From abeae19d59c952ff6bfc6432e1986051a9b67ea7 Mon Sep 17 00:00:00 2001 From: vargenau Date: Thu, 16 Jul 2009 08:51:13 +0000 Subject: [PATCH] Use black list of extensions instead of white list git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7042 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- g | 3 +++ 1 file changed, 3 insertions(+) diff --git a/g b/g index 782d5b6f5..85a1fac4f 100644 --- a/g +++ b/g @@ -87,6 +87,9 @@ if (!$group_id || !$project) { // Do not use a directory per user but only one (per project) define('UPLOAD_USERDIR', false); + // Use black list of extensions instead of white list + define('DISABLE_UPLOAD_ONLY_ALLOWED_EXTENSIONS', true); + // GForge is UTF-8, so use the same. define('CHARSET', 'UTF-8'); -- 2.45.0