[xoops-cvslog 593] CVS update: xoops2jp/html/include

Back to archive index

onokazu onoka****@users*****
2005年 10月 24日 (月) 20:44:16 JST


Index: xoops2jp/html/include/common.php
diff -u xoops2jp/html/include/common.php:1.7 xoops2jp/html/include/common.php:1.8
--- xoops2jp/html/include/common.php:1.7	Mon Sep  5 05:46:09 2005
+++ xoops2jp/html/include/common.php	Mon Oct 24 20:44:16 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: common.php,v 1.7 2005/09/04 20:46:09 onokazu Exp $
+// $Id: common.php,v 1.8 2005/10/24 11:44:16 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/include/functions.php
diff -u xoops2jp/html/include/functions.php:1.5 xoops2jp/html/include/functions.php:1.6
--- xoops2jp/html/include/functions.php:1.5	Mon Sep  5 05:46:09 2005
+++ xoops2jp/html/include/functions.php	Mon Oct 24 20:44:16 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: functions.php,v 1.5 2005/09/04 20:46:09 onokazu Exp $
+// $Id: functions.php,v 1.6 2005/10/24 11:44:16 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -388,9 +388,9 @@
 function redirect_header($url, $time = 3, $message = '', $addredirect = true)
 {
     global $xoopsConfig, $xoopsRequestUri;
-    if (preg_match('/javascript:/si', $url) ) {
+    if (preg_match("/[\\0-\\31]/", $url) || preg_match("/^(javascript|vbscript|about):/i", $url)) {
         $url = XOOPS_URL;
-    };
+    }
     if (!defined('XOOPS_CPFUNC_LOADED')) {
         require_once XOOPS_ROOT_PATH.'/class/template.php';
         $xoopsTpl = new XoopsTpl();
Index: xoops2jp/html/include/version.php
diff -u xoops2jp/html/include/version.php:1.10 xoops2jp/html/include/version.php:1.11
--- xoops2jp/html/include/version.php:1.10	Mon Sep  5 05:46:09 2005
+++ xoops2jp/html/include/version.php	Mon Oct 24 20:44:16 2005
@@ -1,4 +1,4 @@
 <?php
-// $Id: version.php,v 1.10 2005/09/04 20:46:09 onokazu Exp $
-define("XOOPS_VERSION","XOOPS 2.0.12 JP");
+// $Id: version.php,v 1.11 2005/10/24 11:44:16 onokazu Exp $
+define("XOOPS_VERSION","XOOPS 2.0.13 JP");
 ?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index