cfzip action=zip doesn't keep empty folders

Description

<cfzip action="zip" source="#expandPath( "/myFolder" )#" file="#expandPath( "/myZip.zip" )#">

If there are empty folders inside of myFolder, they will be omitted from the zip. The expectation is that all folders should be included. Adobe CF 2016 includes the empty folders.

Activity

Pothys - MitrahSoft 
26 February 2021 at 14:28

Added a PR to remove the unwanted files after testing completed.

Pull Request: https://github.com/lucee/Lucee/pull/1210

Zac Spitzer 
26 February 2021 at 11:23

Brad Wood 
13 July 2018 at 15:33

Thx for the fix on this !

Luis Majano 
9 March 2017 at 21:48

What is the status of this ticket? We still see this in several issues.

Fixed

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Priority

Created 25 July 2016 at 22:08
Updated 28 February 2021 at 09:54
Resolved 31 October 2017 at 06:17