Uploaded image for project: 'James Mime4j'
  1. James Mime4j
  2. MIME4J-104

DecoderUtil.decodeEncodedWords() should ignore linear-white-space that separates a pair of adjacent encoded-words

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.6
    • None
    • None

    Description

      See RFC 2047 section 6.2. (Display of 'encoded-word's):

      "When displaying a particular header field that contains multiple 'encoded-word's, any 'linear-white-space' that separates a pair of adjacent 'encoded-word's is ignored."

      For example after unfolding MIME4J currently decodes the header field ..
      Subject: =?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?=
      =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=
      .. into "Subject: If you can read this yo u understand the example."

      Notice the space character in "yo u" that should not be there..

      Attachments

        Activity

          People

            wmax Markus Wiederkehr
            wmax Markus Wiederkehr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: