X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fforms%2FPending%2FValidateCreation.php;h=50284718a2fa58c0bf781720c50defab75c6b34f;hb=0fb09adccd5c3b305d56f1b267dbd3bf836fd17f;hp=6746f6d9d01e5bc34366989fb58e31eabd1657a2;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/forms/Pending/ValidateCreation.php b/application/forms/Pending/ValidateCreation.php index 6746f6d..5028471 100644 --- a/application/forms/Pending/ValidateCreation.php +++ b/application/forms/Pending/ValidateCreation.php @@ -1,5 +1,5 @@ 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(