correcting fixUTF8 with composer! Not tested on a web-server !

This commit is contained in:
Emmanuel ROY 2019-11-11 04:08:14 +01:00
parent 34f2ce649a
commit 499922de79

View file

@ -68,7 +68,7 @@ function extractText($message)
/**************************************************************************************************************/ /**************************************************************************************************************/
/******************* TEST COTÉ SERVEUR POUR L'ENVOI DU MESSAGE *********************************************/ /******************* TEST COTÉ SERVEUR POUR L'ENVOI DU MESSAGE *********************************************/
$message = Encoding::fixUTF8(StringCompat::protectionDoubleQuote(StringCompat::protectionSimpleQuote($_POST['message']))); $message = ForceUTF8\Encoding::fixUTF8(StringCompat::protectionDoubleQuote(StringCompat::protectionSimpleQuote($_POST['message'])));
if (passValide($_POST['password']) && $_POST['message'] != "") { if (passValide($_POST['password']) && $_POST['message'] != "") {