Developers Tools

  • Increase font size
  • Default font size
  • Decrease font size
Home PclZip Release Notes
PclZip Release Notes

Release Notes 2.5

Print PDF


  • Introduce the ability to add file/folder with individual properties (file descriptor).
    This gives for example the ability to change the filename of a zipped file.
    • Able to add files individually
    • Able to change full name
    • Able to change short name
    • Compatible with global options
  • Add a security control feature. PclZip can extract any file in any folder of a system. People may use this to upload a zip file and try to override a system file. The PCLZIP_OPT_EXTRACT_DIR_RESTRICTION will give the ability to forgive any directory transversal behavior.
  • New PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : check extraction path
  • Modification in PclZipUtilPathInclusion() : dir and path beginning with ./ will be prepend by current path (getcwd())

Release Notes 2.4

Print PDF


  • Code improvment : try to speed up the code by removing unusefull call to pack()
  • Correct bug in delete() : delete() should be called with no argument. This was not the case in 2.3. This is corrected in 2.4.
  • Correct a bug in path_inclusion function. When the path has several '../../', the result was bad.
  • Add a check for magic_quotes_runtime configuration. If enabled, PclZip will disable it while working and det it back to its original value.
    This resolve a lots of bad formated archive errors.
  • Bug correction : PclZip now correctly unzip file in some specific situation, when compressed content has same size as uncompressed content.
  • Bug correction : When selecting option 'PCLZIP_OPT_REMOVE_ALL_PATH', directories are not any more created.
  • Code improvment : correct unclosed opendir(), better handling of . and .. in loops.

Release Notes 2.3

Print PDF

Correct a bug with PHP5 : affecting the value 0xFE49FFE0 to a variable does not give the same result in PHP4 and PHP5 ....


Page 2 of 4