From: jangliss Date: Fri, 24 Jan 2003 02:29:49 +0000 (+0000) Subject: More XSS fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=617973c4d0e6361c38b440618ff8100de94b9ed3;p=squirrelmail.git More XSS fixes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4467 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/mail_fetch/options.php b/plugins/mail_fetch/options.php index a6782d22..1ba30642 100644 --- a/plugins/mail_fetch/options.php +++ b/plugins/mail_fetch/options.php @@ -286,7 +286,7 @@ require_once(SM_PATH . 'include/load_prefs.php'); html_tag( 'td', "" . '' . - '
' . _("Selected Server:") . " $mailfetch_server_[$mf_sn]
" . + '
' . _("Selected Server:") . " " . htmlentities($mailfetch_server_[$mf_sn]) . "
" . _("Confirm delete of selected server?") . '

' . '' . '
' , @@ -313,7 +313,7 @@ require_once(SM_PATH . 'include/load_prefs.php'); html_tag( 'table' ) . html_tag( 'tr', html_tag( 'th', _("Server:"), 'right' ) . - html_tag( 'td', '', 'left' ) + html_tag( 'td', '', 'left' ) ) . html_tag( 'tr', html_tag( 'th', _("Port:"), 'right' ) . @@ -321,7 +321,7 @@ require_once(SM_PATH . 'include/load_prefs.php'); ) . html_tag( 'tr', html_tag( 'th', _("Alias:"), 'right' ) . - html_tag( 'td', '', 'left' ) + html_tag( 'td', '', 'left' ) ) . html_tag( 'tr', html_tag( 'th', _("Username:"), 'right' ) .