From d68d40eec05ab0a3607dc5445de8515a76368ce6 Mon Sep 17 00:00:00 2001 From: Banana Date: Wed, 12 Feb 2020 19:58:00 +0100 Subject: [PATCH] updated default allowed files --- CHANGELOG | 3 ++- webroot/config.default.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ad9b353..9ef456e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ tbd version 0.4-beta Beryllium -* added perl as allowed file +* added perl as default allowed file +* added shellscript to the default allowd files 2020101 version 0.3-beta Lithium * Update information now included diff --git a/webroot/config.default.php b/webroot/config.default.php index 1883a5a..009429f 100644 --- a/webroot/config.default.php +++ b/webroot/config.default.php @@ -18,7 +18,7 @@ define('SELFPASTE_UPLOAD_SECRET','PLEASE CHANGE YOUR SECRET'); define('SELFPASTE_UPLOAD_DIR','pasties'); # those are the allowed file types. # Make sure you read the README and documentation! -define('SELFPASTE_ALLOWED_FILETYPES','text/plain,text/comma-separated-values,text/css,text/xml,text/x-php,text/x-perl'); +define('SELFPASTE_ALLOWED_FILETYPES','text/plain,text/comma-separated-values,text/css,text/xml,text/x-php,text/x-perl,text/x-shellscript'); # this is your domain and path on which selfpaste is accessible # needed to respond with the correct link for your paste # please NO / at the end -- 2.39.5