]> 91.132.146.200 Git - selfpaste.git/commitdiff
added html and js as default allowed type
authorBanana <mail@bananas-playground.net>
Sun, 15 Mar 2020 19:02:08 +0000 (20:02 +0100)
committerBanana <mail@bananas-playground.net>
Sun, 15 Mar 2020 19:02:08 +0000 (20:02 +0100)
webroot/config.default.php

index 009429f08ec249fb5e5943c87c303ef7b7dbd58f..81b2b4073a1a1367900b64bc329bbac1d7682cb2 100644 (file)
@@ -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