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

Whitelist requests for some java.io and other misc calls

    • script-security 1.61

      The following is a sample of some of the methods that are safe to be whitelisted and are quite useful:

      • StringReader.read
      • StringWriter.append
      • new PrintWriter(Writer) (useful for capturing stacktraces as strings)
      • List.add
      • reverse() on List
      • new LinkedHashSet()

          [JENKINS-57344] Whitelist requests for some java.io and other misc calls

          Hari Dara added a comment -

          Hari Dara added a comment - PR:  https://github.com/jenkinsci/script-security-plugin/pull/249

          Devin Nusbaum added a comment -

          These methods were added to the whitelist in version 1.61 of Script Security Plugin.

          Thanks haridsv, sorry I forgot to update the ticket!

          Devin Nusbaum added a comment - These methods were added to the whitelist in version 1.61 of Script Security Plugin. Thanks haridsv , sorry I forgot to update the ticket!

            haridsv Hari Dara
            haridsv Hari Dara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: