Skip to content

Commit 0c4ad3d

Browse files
committed
Issue #1145700 by jbrown, mr.baileys, joachim: harden link display on dblogoverview screen in case the link might be dependent on user input with any contrib module
1 parent 4085a4c commit 0c4ad3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dblog/dblog.admin.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function dblog_overview() {
7979
format_date($dblog->timestamp, 'small'),
8080
l(truncate_utf8(_dblog_format_message($dblog), 56, TRUE, TRUE), 'admin/reports/event/'. $dblog->wid, array('html' => TRUE)),
8181
theme('username', $dblog),
82-
$dblog->link,
82+
filter_xss($dblog->link),
8383
),
8484
// Attributes for tr
8585
'class' => "dblog-". preg_replace('/[^a-z]/i', '-', $dblog->type) .' '. $classes[$dblog->severity]

0 commit comments

Comments
 (0)