From d5342aabcfeddb959cc286befe6de5bf35fe9d76 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 25 Nov 2007 14:45:38 -0500 Subject: [PATCH] More input sanitizing --- program/steps/settings/func.inc | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 18e8e52..ecdbcbd 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -27,8 +27,7 @@ if ($USER_DATA = $DB->fetch_assoc($sql_result)) { - $username = $USER_DATA['username'] . (!strpos($USER_DATA['username'], '@') ? '@'.$USER_DATA['mail_host'] : ''); - $OUTPUT->set_pagetitle(sprintf('%s %s', rcube_label('settingsfor'), $username)); + $OUTPUT->set_pagetitle(rcube_label('settingsfor') . " ". $USER_DATA['username'] . (!strpos($USER_DATA['username'], '@') ? '@'.$USER_DATA['mail_host'] : '')); } -- Gitblit v1.9.1