经详细检查,确认/models/ucenter.php程序中的login函数存在对email登入的情况遗漏转码,需补充如下代码。请官方核实并在下一版本中修订该bug。
function login($_username, $_password)
	{		
		if (H::valid_email($_username))
		{
			// 使用 E-mail 登录
			list($uc_uid, $username, $password, $email) = uc_user_login($_username, $_password, 2);
			//***** harryq 2013/4/9
			if ($this->ucenter_charset != 'utf-8')
			{
				$username = convert_encoding($username, $this->ucenter_charset, 'UTF-8');
			}
			$username = htmlspecialchars($username);
			//*****
		}
......
}
                                                                
                                     阅读全文
                                
                                
                                     收起全文