From 817dbb15bf94d2389581848ffd1b865a8388de48 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 21 Dec 2008 17:47:06 +0000 Subject: [PATCH] corretta gestione nomi con lettere strane --- web/index_wr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.17.1