CFZIP action="unzip" overwrite="true" deletes existing directories.

Description

This related to this issue https://luceeserver.atlassian.net/browse/LDEV-2052

As of now if you can unzip a entrypoint it will unzip it into your destination {destination}/{entrypoint} . However, everything in the {destination} directory will be deleted.

As I posted on the other ticket it would be great it this line:

https://github.com/lucee/Lucee/commit/58d7bc020e4c2690dd2218d2f515abbceecc0422#diff-e59c5fa4549e18de6be943907a50f597R442

was changed to:

That way you can unzip var entry points into the different zip into the same directory.

Thanks!

Environment

Luceee 5.3.2.77 on java 8

Assignee

Michael Offner

Reporter

Matt Levine

Priority

Major

Labels

None

Fix versions

None

Affects versions

Configure