diff --git a/inc/TarLib.class.php b/inc/TarLib.class.php index 0f8f258de730bd8afd055dd2905751e0222b9406..24adddac7b4c4d43937d80e9be5800b40285455e 100644 --- a/inc/TarLib.class.php +++ b/inc/TarLib.class.php @@ -824,7 +824,7 @@ $p_add, $p_rem); function _extractList($p_to, $p_files, $p_remdir, $p_mode = 0755) { - if (!$p_to || ($p_to[0]!="/"&&substr($p_to,0,3)!="../"&&substr($p_to,1,3)!=":\\")) /*" // <- PHP Coder bug */ + if (!$p_to || ($p_to[0]!="/"&&substr($p_to,0,3)!="../"&&substr($p_to,1,2)!=":\\")) /*" // <- PHP Coder bug */ $p_to = "./$p_to"; if ($p_remdir && substr($p_remdir,-1)!='/') $p_remdir .= '/';