Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71434

Make FilePath#archive/zip overloads with OpenOptions available to plugins

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      FilePath#archive(ArchiverFactory,OutputStream,DirScanner,String,OpenOption...) is currently @Restricted and therefore unavailable to plugins.

      This is the overload needed for callers to not follow symbolic links and was originally introduced (with a different signature) as part of a security fix, and got its signature updated to its current form as part of another security fix. This indicates this is a good overload to have access to from plugins.

      The same applies to a corresponding #zip overload.

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: