Permalink
Browse files

Solved one condition that caused some errors in Win32 when extracting.

  • Loading branch information...
1 parent fb2fcf3 commit 4545fc38901e00ccdfb6f33b4745c3bba742a6c6 stronk7 committed Aug 24, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pclzip/pclzip.lib.php
@@ -2629,7 +2629,7 @@ function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all
$v_result=1;
// ----- Check the path
- if (($p_path == "") || ((substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3) != "../") && (substr($p_path,1,2)!=":/")))
+ if (($p_path == "") || ((substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3) != "../") && (substr($p_path,1,1)!=":")))
$p_path = "./".$p_path;
// ----- Reduce the path last (and duplicated) '/'

0 comments on commit 4545fc3

Please sign in to comment.