Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3478

Base64 lookup doesn't work with system property substitution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • None
    • None
    • None
    • None

    Description

      Base64 encoded system property doesn't work, e.g.

      property.token = ${base64:${sys:some.encoded.token}}
      

      fails (silently) and is valued literally, without any expansion. The expected behavior is that the some.encoded.token system property would be looked up and then decoded by base64 lookup.

      If this kind of "nesting" should be considered a feature please comment and I'll change the type.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oskarryn oskarryn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: