onokazu
onoka****@users*****
2006年 4月 10日 (月) 12:05:04 JST
Index: xoops2jp/html/install/index.php diff -u xoops2jp/html/install/index.php:1.4 xoops2jp/html/install/index.php:1.4.2.1 --- xoops2jp/html/install/index.php:1.4 Mon Oct 24 20:44:16 2005 +++ xoops2jp/html/install/index.php Mon Apr 10 12:05:03 2006 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.4 2005/10/24 11:44:16 onokazu Exp $ +// $Id: index.php,v 1.4.2.1 2006/04/10 03:05:03 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -1173,7 +1173,8 @@ case "insertData": $adminname = $myts->stripSlashesGPC(trim($_POST['adminname'])); - $adminpass = $myts->stripSlashesGPC($_POST['adminpass']); + $adminpass = $myts->stripSlashesGPC(trim($_POST['adminpass'])); + $adminpass2 = $myts->stripSlashesGPC(trim($_POST['adminpass2'])); $adminmail = $myts->stripSlashesGPC(trim($_POST['adminmail'])); if (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.][a-z0-9-]+)+$/i",$adminmail)) {