Uploaded image for project: 'Lucee Development'
  1. LDEV-1989

CFZIP: add support for password and encryptionalgorithm attributes

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.2.8.50
    • Fix Version/s: 5.3.2.31
    • Labels:
    • Sprint:
      February 2019, November 2018 Sprint

      Description

      Hi Lucee,

      Trying to make use of CFZIP for the first time, but ran into a snag immediately: cfzip in Lucee does not support the password attribute (https://cfdocs.org/cfzip vs https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-u-z/cfzip.html). Hence my venture into CFZIP stopped dead. Any ideas or plans to support this ACF-only (since CF11) attribute?

      zip action="unzip" destination="#GetTempDirectory()#" file="#fileName#" password="reallysafepassword" overwrite="true";
      

      Throws the following error:

      Details: valid attribute names are [action,charset,destination,entrypath,file,filter,filterdelimiters,name,overwrite,prefix,recurse,showdirectory,source,storepath,variable]
      Message: Attribute password is not allowed for statement zip
      

      This also goes for the attribute encryptionalgorithm.

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              sebastiaan Sebastiaan Naafs - van Dijk
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: