From bcb9c674bc445c5fadb535ef78574bdf5739411e Mon Sep 17 00:00:00 2001 From: kink Date: Thu, 23 Jan 2003 22:32:24 +0000 Subject: [PATCH] "XXS-yourself" fixes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4463 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/mail_fetch/fetch.php | 6 +++--- plugins/mail_fetch/options.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/mail_fetch/fetch.php b/plugins/mail_fetch/fetch.php index 6e37fa7e..ab93889a 100644 --- a/plugins/mail_fetch/fetch.php +++ b/plugins/mail_fetch/fetch.php @@ -86,7 +86,7 @@ require_once(SM_PATH . 'functions/html.php' ); '' . "\n"; } echo '' . @@ -98,7 +98,7 @@ require_once(SM_PATH . 'functions/html.php' ); if ($mailfetch_pass_[$i]=='') { echo html_tag( 'tr', html_tag( 'td', _("Password for") . ' ' . - (($mailfetch_alias_[$i]=='')?$mailfetch_server_[$i]:$mailfetch_alias_[$i]) . + htmlspecialchars((($mailfetch_alias_[$i]=='')?$mailfetch_server_[$i]:$mailfetch_alias_[$i])) . ':     ', 'right' ) . html_tag( 'td', '', 'left' ) @@ -144,7 +144,7 @@ require_once(SM_PATH . 'functions/html.php' ); html_tag( 'table', html_tag( 'tr', html_tag( 'td', '' . _("Fetching from ") . - (($mailfetch_alias_[$i_loop] == '')?$mailfetch_server:$mailfetch_alias_[$i_loop]) . + htmlspecialchars((($mailfetch_alias_[$i_loop] == '')?$mailfetch_server:$mailfetch_alias_[$i_loop])) . '', 'center' ) , '', $color[9] ) , diff --git a/plugins/mail_fetch/options.php b/plugins/mail_fetch/options.php index 442a988d..a6782d22 100644 --- a/plugins/mail_fetch/options.php +++ b/plugins/mail_fetch/options.php @@ -260,7 +260,7 @@ require_once(SM_PATH . 'include/load_prefs.php'); echo '' . _("Server Name:") . ' '. '  '. -- 2.25.1