cfzip-filterdelimiters doesn't take pipe( | ) character as the default value (not worked as per docs).

Description

Docs - https://docs.lucee.org/reference/tags/zip.html#attribute-filterdelimiters

Below one returns an empty query even the zip file contains cfc/cfm files.

<cfzip action="list" file="#expandpath('./list.zip')#" name="res" filter="*.cfc|*.cfm">

This one returns the result as expected (takes comma( , ) as the default value).

<cfzip action="list" file="#expandpath('./list.zip')#" name="res" filter="*.cfc,*.cfm">

But using empty space in filterdelimiters takes pipe( | ) as delimiter value (works as per docs)

<cfzip action="list" file="#expandpath('./list.zip')#" name="res" filter="*.cfc|*.cfm" filterdelimiters=" ">

Seems ACF takes both comma(,) and pipe(|) character as the default value for delimiter

Environment

None

Activity

Pothys - MitrahSoft 
24 February 2022 at 12:10
(edited)

I added a fix to this ticket. After this fix cfzip filterdelimiters takes both comma ( , ) & pipe( | ) characters as default value.

Pull Request: https://github.com/lucee/extension-compress/pull/13

Fixed

Details

Assignee

Reporter

Priority

Labels

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

Created 18 February 2022 at 13:59
Updated 24 February 2022 at 15:16
Resolved 24 February 2022 at 15:16