From: Matteo Nastasi (mop) Date: Sun, 21 Dec 2008 17:47:06 +0000 (+0000) Subject: corretta gestione nomi con lettere strane X-Git-Tag: 3.0.0~167 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=817dbb15bf94d2389581848ffd1b865a8388de48;p=brisk.git corretta gestione nomi con lettere strane --- diff --git a/web/index_wr.php b/web/index_wr.php index 7ca82bc..b7ccc25 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -78,7 +78,7 @@ if (($user = &$room->get_user($sess, &$idx)) == FALSE) { // echo '2|'.$argz[1].'|'.$token.'|'.$_SERVER['REMOTE_ADDR'].'|'.$curtime.'|'; // exit; - if (($login_new = validate_name($cli_name)) != FALSE) { + if (($login_new = validate_name(urldecode($cli_name))) != FALSE) { if ($chals->add($login_new, $token, $_SERVER['REMOTE_ADDR'], $curtime) != FALSE) { echo '0|'.$token; }