|
@@ 3699-3706 (lines=8) @@
|
| 3696 |
|
$v_inclusion
|
| 3697 |
|
= PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION],
|
| 3698 |
|
$p_entry['filename']);
|
| 3699 |
|
if ($v_inclusion == 0) {
|
| 3700 |
|
|
| 3701 |
|
PclZip::privErrorLog(PCLZIP_ERR_DIRECTORY_RESTRICTION,
|
| 3702 |
|
"Filename '".$p_entry['filename']."' is "
|
| 3703 |
|
."outside PCLZIP_OPT_EXTRACT_DIR_RESTRICTION");
|
| 3704 |
|
|
| 3705 |
|
return PclZip::errorCode();
|
| 3706 |
|
}
|
| 3707 |
|
}
|
| 3708 |
|
|
| 3709 |
|
// ----- Look for pre-extract callback
|
|
@@ 3883-3886 (lines=4) @@
|
| 3880 |
|
else {
|
| 3881 |
|
// ----- TBC
|
| 3882 |
|
// Need to be finished
|
| 3883 |
|
if (($p_entry['flag'] & 1) == 1) {
|
| 3884 |
|
PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, 'File \''.$p_entry['filename'].'\' is encrypted. Encrypted files are not supported.');
|
| 3885 |
|
return PclZip::errorCode();
|
| 3886 |
|
}
|
| 3887 |
|
|
| 3888 |
|
|
| 3889 |
|
// ----- Look for using temporary file to unzip
|