]> dev.renevier.net Git - syj.git/blobdiff - application/forms/Pending/ResetPassword.php
provide charset argument when calling htmlspecialchars
[syj.git] / application / forms / Pending / ResetPassword.php
index a18c071b38db7684cc2e0a17c485de8adc82427c..bcba21af82c51a73b08423f19c4008818ab914ad 100644 (file)
@@ -9,7 +9,7 @@ class Syj_Form_Pending_ResetPassword extends Syj_Form_Pending
 
         $translator = $this->getTranslator();
         $activatetext = $translator->translate("Hi %s. Someone, probably you, has asked to reset password for your account. To get a new password, validate with following button.");
-        $pseudo = htmlspecialchars($user->pseudo);
+        $pseudo = htmlspecialchars($user->pseudo, ENT_COMPAT, "UTF-8");
         $activatetext = vsprintf ($activatetext, array($pseudo));
 
         return array(