summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/TarLib.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/TarLib.class.php b/inc/TarLib.class.php
index 91f707e4b..ab802163b 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,2)!=":\\")) /*" // <- PHP Coder bug */
+ if (!$p_to || ($p_to[0]!="/"&&substr($p_to,0,3)!="../"&&substr($p_to,1,3)!=":\\"&&substr($p_to,1,2)!=":/")) /*" // <- PHP Coder bug */
$p_to = "./$p_to";
if ($p_remdir && substr($p_remdir,-1)!='/') $p_remdir .= '/';