diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-07-19 20:06:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-07-19 20:06:25 +0000 |
commit | 2b08c40d6af636b4ba03e3d2ede657607c9223a9 (patch) | |
tree | f6263a093f2bba2b5b87ec9edc9bfc4aa0d68985 | |
parent | 1c94c89e388db7783d5571a4c0cf9396c49dd8c5 (diff) | |
download | brdo-2b08c40d6af636b4ba03e3d2ede657607c9223a9.tar.gz brdo-2b08c40d6af636b4ba03e3d2ede657607c9223a9.tar.bz2 |
- Patch #214516 by mfb: add RSTP to protocol list.
-rw-r--r-- | modules/filter/filter.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module index c05ccae82..b75406c7b 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -1158,7 +1158,7 @@ function _filter_xss_attributes($attr) { function filter_xss_bad_protocol($string, $decode = TRUE) { static $allowed_protocols; if (!isset($allowed_protocols)) { - $allowed_protocols = array_flip(variable_get('filter_allowed_protocols', array('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'mailto', 'irc', 'ssh', 'sftp', 'webcal'))); + $allowed_protocols = array_flip(variable_get('filter_allowed_protocols', array('ftp', 'http', 'https', 'irc', 'mailto', 'news', 'nntp', 'rtsp', 'sftp', 'ssh', 'telnet', 'webcal'))); } // Get the plain text representation of the attribute value (i.e. its meaning). |