onokazu
onoka****@users*****
2005年 7月 18日 (月) 16:50:56 JST
Index: xoops2jp/html/class/xml/rpc/xmlrpcapi.php diff -u xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.2.6.1 xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.2.6.1.2.1 --- xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.2.6.1 Mon Apr 25 13:59:07 2005 +++ xoops2jp/html/class/xml/rpc/xmlrpcapi.php Mon Jul 18 16:50:56 2005 @@ -1,5 +1,5 @@ <?php -// $Id: xmlrpcapi.php,v 1.2.6.1 2005/04/25 04:59:07 onokazu Exp $ +// $Id: xmlrpcapi.php,v 1.2.6.1.2.1 2005/07/18 07:50:56 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -73,7 +73,7 @@ return true; } $member_handler =& xoops_gethandler('member'); - $this->user =& $member_handler->loginUser($username, $password); + $this->user =& $member_handler->loginUser(addslashes($username), addslashes($password)); if (!is_object($this->user)) { unset($this->user); return false;