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

Add a few common collection-related methods to the whitelist

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      cc Jesse Glick

      I can't see a reason not to have Collection.addAll(Collection), Map.containsKey(Object), Collection.isEmpty() or Map.addAll(Map) whitelisted, so, well, let's whitelist them.

        Attachments

          Issue Links

            Activity

            abayer Andrew Bayer created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Summary Collection.addAll(Collection) should be whitelisted by default Add a few common collection-related methods to the whitelist
            Description cc [~jglick]

            I can't see a reason not to have {{Collection.addAll(Collection)}} whitelisted, so, well, let's whitelist it.
            cc [~jglick]

            I can't see a reason not to have {{Collection.addAll(Collection)}}, {{Map.containsKey(Object)}}, {{Collection.isEmpty()}} or {{Map.addAll(Map)}} whitelisted, so, well, let's whitelist them.
            Show
            abayer Andrew Bayer added a comment - PR up - https://github.com/jenkinsci/script-security-plugin/pull/79
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "PR #79 (Web Link)" [ 14717 ]
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                abayer Andrew Bayer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: