Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2b08c40d
Commit
2b08c40d
authored
Jul 19, 2008
by
Dries
Browse files
- Patch
#214516
by mfb: add RSTP to protocol list.
parent
1c94c89e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/filter/filter.module
View file @
2b08c40d
...
...
@@ -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).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment