X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Ftranslate%2Ffunctions.php;h=5fc2386b991128191257da807b80c294ef842f25;hb=306d15f3e16a7dbd9a51897b4335f357f9f62e27;hp=d6722109f6ebf1c75873a5f6867811382749fe14;hpb=30460a05016c7e066ad7b28df7788539e4054a99;p=squirrelmail.git diff --git a/plugins/translate/functions.php b/plugins/translate/functions.php index d6722109..5fc2386b 100644 --- a/plugins/translate/functions.php +++ b/plugins/translate/functions.php @@ -3,7 +3,7 @@ /** * SquirrelMail translate plugin functions * - * @copyright 2004-2009 The SquirrelMail Project Team + * @copyright 2004-2022 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -456,7 +456,7 @@ function translate_new_form($action,$charset=null) { } if (! is_null($charset)) - echo ' accept-charset="'.htmlspecialchars($charset).'"'; + echo ' accept-charset="'.sm_encode_html_special_chars($charset).'"'; echo ">\n";