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

RFC5424 SD PARAM/VALUE escaping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0-beta4
    • 2.0-beta5
    • Appenders, Layouts
    • None
    • N/A

    Description

      RFC5424Layout should apply RFC-5424 compliant escaping rules to SD PARAM-NAME and PARAM-VALUE strings (adding a backslash before '"', '\', and ']'), and also support optional newline escaping of the same.

      Patch to follow.

      Attachments

        1. RFC5424Layout-escaping-fix.patch
          7 kB
          Scott Severtson

        Activity

          People

            rgoers Ralph Goers
            ssevertson Scott Severtson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: