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

DecoderUtil.decodeEncodedWords() fails if encoded-text starts with an equals sign

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6.1, 0.7
    • None
    • None

    Description

      For example "=?utf-8?Q?=20test?=" should be decoded as " test". Instead it does not get decoded at all.

      The problem is that DecoderUtil.decodeEncodedWords() falsely identifies =?utf-8?Q?= as the encoded word which cannot be decoded.

      Attachments

        1. RegexDecoderUtil.java
          4 kB
          Aron Wieck
        2. DecoderUtil.diff
          13 kB
          Aron Wieck
        3. DecoderUtil.java
          11 kB
          Aron Wieck
        4. mime4j-138.patch
          8 kB
          Markus Wiederkehr

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: