From: Banana Date: Wed, 12 Feb 2020 18:58:00 +0000 (+0100) Subject: updated default allowed files X-Git-Tag: v1.0^2~14 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=d68d40eec05ab0a3607dc5445de8515a76368ce6;p=selfpaste.git updated default allowed files --- 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