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

Whitelist DateTimeFormatter.ofPattern(String)

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: script-security-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.140
      Script Security Plugin 1.49
    • Similar Issues:

      Description

      Whitelist DateTimeFormatter.ofPattern(String) since currently we have only set of constants whitelisted (BASIC_ISO_DATE, ISO_DATE_TIME...) that doesn't cover all real-life use cases

        Attachments

          Activity

          Hide
          zhogov Aleksei Zhogov added a comment - - edited
          Show
          zhogov Aleksei Zhogov added a comment - - edited PR to fix this:  https://github.com/jenkinsci/script-security-plugin/pull/237
          Hide
          zhogov Aleksei Zhogov added a comment -

          Merged by Devin Nusbaum

          Show
          zhogov Aleksei Zhogov added a comment - Merged by Devin Nusbaum

            People

            • Assignee:
              zhogov Aleksei Zhogov
              Reporter:
              zhogov Aleksei Zhogov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: