Skip to content

Commit b26663c

Browse files
authored
Merge pull request #577 from StefanSpieker/StefanSpieker-patch-1
Also add `DateTimeFormatter` `ofPattern` with `Locale`-parameter to the whitelist
2 parents 667c2ea + 41f585f commit b26663c

File tree

1 file changed

+1
-0
lines changed
  • src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists

1 file changed

+1
-0
lines changed

src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ staticField java.time.format.DateTimeFormatter ISO_WEEK_DATE
488488
staticField java.time.format.DateTimeFormatter ISO_ZONED_DATE_TIME
489489
staticField java.time.format.DateTimeFormatter RFC_1123_DATE_TIME
490490
staticMethod java.time.format.DateTimeFormatter ofPattern java.lang.String
491+
staticMethod java.time.format.DateTimeFormatter ofPattern java.lang.String java.util.Locale
491492
method java.time.format.DateTimeFormatter parse java.lang.CharSequence
492493
staticField java.time.temporal.ChronoUnit CENTURIES
493494
staticField java.time.temporal.ChronoUnit DAYS

0 commit comments

Comments
 (0)