From 209c122b650da8e05b6456e6a4bb1cd0ed19d361 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 17 Feb 2009 22:44:38 +0000 Subject: [PATCH] MDL-18223 fixed theoretical XSS --- admin/report/spamcleaner/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/report/spamcleaner/index.php b/admin/report/spamcleaner/index.php index d98e44a2e1..208a07ca9e 100755 --- a/admin/report/spamcleaner/index.php +++ b/admin/report/spamcleaner/index.php @@ -246,7 +246,7 @@ function print_user_entry($user, $keywords, $count) { $SESSION->users_result[$user->id] = $smalluserobject; $html = ''; $html .= ''.$count.''; - $html .= 'id.'" title="'.$user->username.'">'.fullname($user).''; + $html .= 'id.'" title="'.s($user->username).'">'.fullname($user).''; $html .= "