diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-05-03 09:14:32 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-05-03 09:14:32 +0200 |
commit | 2077464d464e485a978166604faf158b654fb0cb (patch) | |
tree | 13bd87a71a4688fab923ac2e1d0305de3925997e /data/config.default.php | |
parent | 40b4674e471f8b0fbdc77a26eec86018e2ab03ea (diff) | |
download | semanticscuttle-2077464d464e485a978166604faf158b654fb0cb.tar.gz semanticscuttle-2077464d464e485a978166604faf158b654fb0cb.tar.bz2 |
begin bookmark model class with URL validation method
Diffstat (limited to 'data/config.default.php')
-rw-r--r-- | data/config.default.php | 15 |
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 |