Minahito
minah****@users*****
2006年 11月 27日 (月) 15:07:42 JST
Index: xoops2jp/html/modules/legacy/admin/actions/ModuleInfoAction.class.php diff -u xoops2jp/html/modules/legacy/admin/actions/ModuleInfoAction.class.php:1.1.2.2 xoops2jp/html/modules/legacy/admin/actions/ModuleInfoAction.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/admin/actions/ModuleInfoAction.class.php:1.1.2.2 Sun Oct 15 00:54:46 2006 +++ xoops2jp/html/modules/legacy/admin/actions/ModuleInfoAction.class.php Mon Nov 27 15:07:42 2006 @@ -20,7 +20,7 @@ function getDefaultView(&$controller, &$xoopsUser) { $dirname = xoops_getrequest('dirname'); - if (!preg_match("/^[a-z\_]+$/i", $dirname)) { + if (!preg_match("/^[a-zA-Z_][a-zA-Z0-9_]*$/", $dirname)) { return LEGACY_FRAME_VIEW_ERROR; }