Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
link
Commits
69afeb92
Commit
69afeb92
authored
Nov 02, 2009
by
John C Fiala
Browse files
security by dropbox: Fixes security vulnerability in Separate Title and URL formatter
parent
d098fbf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
link.module
View file @
69afeb92
...
...
@@ -653,7 +653,7 @@ function link_field_formatter($field, $item, $formatter, $node) {
}
// Build the link using the widget label as separate title.
elseif
(
$formatter
==
'separate'
)
{
$title
=
_link_field_formatter_title
(
$field
,
$item
,
$node
);
$title
=
check_plain
(
_link_field_formatter_title
(
$field
,
$item
,
$node
)
)
;
$class
=
empty
(
$field
[
'attributes'
][
'class'
])
?
''
:
' '
.
$field
[
'attributes'
][
'class'
];
unset
(
$field
[
'attributes'
][
'class'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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