From: Banana Date: Sun, 15 Mar 2020 19:02:08 +0000 (+0100) Subject: added html and js as default allowed type X-Git-Tag: v1.0^2~13 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=4ae1ad67fe29350435edf39ade6038e433a5b27a;p=selfpaste.git added html and js as default allowed type --- diff --git a/webroot/config.default.php b/webroot/config.default.php index 009429f..81b2b40 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,text/x-shellscript'); +define('SELFPASTE_ALLOWED_FILETYPES','text/plain,text/comma-separated-values,text/css,text/xml,text/x-php,text/x-perl,text/x-shellscript,text/html,text/javascript'); # 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