summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGábor Hojtsy2012-04-27 13:39:25 (GMT)
committer Gábor Hojtsy2012-04-27 13:39:25 (GMT)
commit79d32fc3ee1228e438dea94cbec66b41286b034e (patch)
tree60b6fad1fddce07ceeb0fc09e5e61923143cd717
parent5e967f46c68de857593b1d4b70a60c08453cf2e2 (diff)
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
-rw-r--r--modules/dblog/dblog.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dblog/dblog.admin.inc b/modules/dblog/dblog.admin.inc
index ee577a4..853a2ce 100644
--- a/modules/dblog/dblog.admin.inc
+++ b/modules/dblog/dblog.admin.inc
@@ -79,7 +79,7 @@ function dblog_overview() {
format_date($dblog->timestamp, 'small'),
l(truncate_utf8(_dblog_format_message($dblog), 56, TRUE, TRUE), 'admin/reports/event/'. $dblog->wid, array('html' => TRUE)),
theme('username', $dblog),
- $dblog->link,
+ filter_xss($dblog->link),
),
// Attributes for tr
'class' => "dblog-". preg_replace('/[^a-z]/i', '-', $dblog->type) .' '. $classes[$dblog->severity]