- Patch #214516 by mfb: add RSTP to protocol list.

merge-requests/26/head
Dries Buytaert 2008-07-19 20:06:25 +00:00
parent 1c94c89e38
commit 2b08c40d6a
1 changed files with 1 additions and 1 deletions

View File

@ -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).