X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fforms%2FPending%2FValidateCreation.php;h=50284718a2fa58c0bf781720c50defab75c6b34f;hp=f8a20f5ff632407e0ed19972415b76b82b1b082b;hb=0fb09adccd5c3b305d56f1b267dbd3bf836fd17f;hpb=1f6105289a49079809c2a4677b561bc82c62db88 diff --git a/application/forms/Pending/ValidateCreation.php b/application/forms/Pending/ValidateCreation.php index f8a20f5..5028471 100644 --- a/application/forms/Pending/ValidateCreation.php +++ b/application/forms/Pending/ValidateCreation.php @@ -9,8 +9,8 @@ class Syj_Form_Pending_ValidateCreation extends Syj_Form_Pending $translator = $this->getTranslator(); $activatetext = $translator->translate("Someone, probably you, has registered an account %s with email address %s on syj. To confirm this account creation, validate with following button."); - $pseudo = '' . htmlspecialchars('"' . $user->pseudo . '"') . ''; - $email = '' . htmlspecialchars('"' . $user->email . '"') . ''; + $pseudo = '' . htmlspecialchars('"' . $user->pseudo . '"', ENT_COMPAT, "UTF-8") . ''; + $email = '' . htmlspecialchars('"' . $user->email . '"', ENT_COMPAT, "UTF-8") . ''; $activatetext = vsprintf ($activatetext, array($pseudo, $email)); return array(