Index: /branches/version-2_13-dev/data/class/util/SC_Utils.php
===================================================================
--- /branches/version-2_13-dev/data/class/util/SC_Utils.php	(revision 23606)
+++ /branches/version-2_13-dev/data/class/util/SC_Utils.php	(revision 23609)
@@ -1839,5 +1839,5 @@
             return false;
         }
-        if (!strncasecmp(PHP_OS, 'win', 3)) {
+        if (DIRECTORY_SEPARATOR == '\\') {
             return (($path{0} == '/') ||  preg_match('/^[a-zA-Z]:(\\\|\/)/', $path));
         }
Index: /branches/version-2_13-dev/tests/class/util/SC_Utils/SC_Utils_isAbsoluteRealPathTest.php
===================================================================
--- /branches/version-2_13-dev/tests/class/util/SC_Utils/SC_Utils_isAbsoluteRealPathTest.php	(revision 23546)
+++ /branches/version-2_13-dev/tests/class/util/SC_Utils/SC_Utils_isAbsoluteRealPathTest.php	(revision 23609)
@@ -36,44 +36,57 @@
 
 
-  protected function setUp()
-  {
-    // parent::setUp();
-  }
+    protected function setUp()
+    {
+        // parent::setUp();
+    }
 
-  protected function tearDown()
-  {
-    // parent::tearDown();
-  }
+    protected function tearDown()
+    {
+        // parent::tearDown();
+    }
 
-  /////////////////////////////////////////
-  public function testIsAbsoluteRealPath_絶対パスの場合_trueが返る()
-  {
+    /////////////////////////////////////////
+    public function testIsAbsoluteRealPath_絶対パスの場合_trueが返る()
+    {
 
-    if (strpos(PHP_OS, 'WIN')) {
-      $input = 'C:/Program Files/username/hoge/hoge.txt';
-    } else {
-      $input = '/etc/php.ini';
+        if (strpos(PHP_OS, 'WIN')) {
+            $input = 'C:/Program Files/username/hoge/hoge.txt';
+        } else {
+            $input = '/etc/php.ini';
+        }
+        $this->expected = true;
+        $this->actual = SC_Utils::isAbsoluteRealPath($input);
+
+        $this->verify();
     }
-    $this->expected = true;
-    $this->actual = SC_Utils::isAbsoluteRealPath($input);
 
-    $this->verify();
-  }
+    public function testIsAbsoluteRealPath_相対パスの場合_trueが返る()
+    {
 
-  public function testIsAbsoluteRealPath_相対パスの場合_trueが返る()
-  {
+        if (strpos(PHP_OS, 'WIN')) {
+            $input = './system32/hoge/hoge.txt';
+        } else {
+            $input = '../etc/php.ini';
+        }
+        $this->expected = false;
+        $this->actual = SC_Utils::isAbsoluteRealPath($input);
 
-    if (strpos(PHP_OS, 'WIN')) {
-      $input = './system32/hoge/hoge.txt';
-    } else {
-      $input = '../etc/php.ini';
+        $this->verify();
     }
-    $this->expected = false;
-    $this->actual = SC_Utils::isAbsoluteRealPath($input);
 
-    $this->verify();
-  }
 
-  //////////////////////////////////////////
+    public function testIsAbsoluteRealPath_絶対パスに相対パスが混じっている場合_falseが返る()
+    {
+        if (strpos(PHP_OS, 'WIN')) {
+            $input = 'C:/path/to/eccube/html/../data/hoge.txt';
+        } else {
+            $input = '/path/to/eccube/html/../data/hoge.txt';
+        }
+        $this->expected = false;
+        $this->actual = SC_Utils::isAbsoluteRealPath($input);
+
+        $this->verify();
+    }
+
+    //////////////////////////////////////////
 }
-
