summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-03 09:14:32 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-03 09:14:32 +0200
commit2077464d464e485a978166604faf158b654fb0cb (patch)
tree13bd87a71a4688fab923ac2e1d0305de3925997e /data
parent40b4674e471f8b0fbdc77a26eec86018e2ab03ea (diff)
downloadsemanticscuttle-2077464d464e485a978166604faf158b654fb0cb.tar.gz
semanticscuttle-2077464d464e485a978166604faf158b654fb0cb.tar.bz2
begin bookmark model class with URL validation method
Diffstat (limited to 'data')
-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