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
e174039d
Commit
e174039d
authored
Dec 28, 2009
by
Dries
Browse files
- Patch
#669062
by Damien Tournoud and security team: fixed SA-
CORE-2009
-009: menu description XSS.
parent
13dacbc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.admin.inc
View file @
e174039d
...
...
@@ -2342,7 +2342,7 @@ function theme_admin_block_content($variables) {
$output
=
'<dl class="admin-list">'
;
foreach
(
$content
as
$item
)
{
$output
.
=
'<dt>'
.
l
(
$item
[
'title'
],
$item
[
'href'
],
$item
[
'localized_options'
])
.
'</dt>'
;
$output
.
=
'<dd>'
.
$item
[
'description'
]
.
'</dd>'
;
$output
.
=
'<dd>'
.
filter_xss_admin
(
$item
[
'description'
]
)
.
'</dd>'
;
}
$output
.
=
'</dl>'
;
}
...
...
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