onokazu
onoka****@users*****
2005年 6月 30日 (木) 14:07:51 JST
Index: xoops2jp/html/class/xml/rpc/xmlrpcapi.php diff -u xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.3 xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.4 --- xoops2jp/html/class/xml/rpc/xmlrpcapi.php:1.3 Sat Jun 11 11:32:39 2005 +++ xoops2jp/html/class/xml/rpc/xmlrpcapi.php Thu Jun 30 14:07:51 2005 @@ -1,5 +1,5 @@ <?php -// $Id: xmlrpcapi.php,v 1.3 2005/06/11 02:32:39 onokazu Exp $ +// $Id: xmlrpcapi.php,v 1.4 2005/06/30 05:07:51 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;