summaryrefslogtreecommitdiff
path: root/data/config.default.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/config.default.php')
-rw-r--r--data/config.default.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/config.default.php b/data/config.default.php
index af79891..b2c7307 100644
--- a/data/config.default.php
+++ b/data/config.default.php
@@ -463,6 +463,21 @@ $filetypes = array(
);
/**
+ * Link protocols that are allowed for newly added bookmarks.
+ * This prevents i.e. adding javascript: links.
+ *
+ * @link http://en.wikipedia.org/wiki/URI_scheme
+ *
+ * @var array
+ */
+$allowedProtocols = array(
+ 'ftp', 'ftps',
+ 'http', 'https',
+ 'mailto', 'nntp',
+ 'xmpp'
+);
+
+/**
* Enable the "common bookmark description" functionality
*
* @var boolean