From 2b0224f50a9c99b28b77f0b1c7de728944162afe Mon Sep 17 00:00:00 2001 From: tokul Date: Mon, 15 May 2006 15:55:58 +0000 Subject: [PATCH] sanitize displayed folder name and load form functions. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11139 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/filters/options.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/filters/options.php b/plugins/filters/options.php index 222ca749..b2d4eeaa 100644 --- a/plugins/filters/options.php +++ b/plugins/filters/options.php @@ -15,6 +15,7 @@ */ require('../../include/init.php'); include_once(SM_PATH . 'functions/imap_general.php'); +include_once(SM_PATH . 'functions/forms.php'); include_once(SM_PATH . 'plugins/filters/filters.php'); displayPageHeader($color, 'None'); @@ -245,7 +246,7 @@ if (count($filters)) { printf( _("If %s contains %s then move to %s"), ''.$filters[$i]['where'].'', ''.$filters[$i]['what'].'', - ''.imap_utf7_decode_local($fdr).''); + ''.htmlspecialchars(imap_utf7_decode_local($fdr)).''); echo ''; } -- 2.25.1