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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6.1, 0.7
    • Component/s: None
    • Labels:
      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. mime4j-138.patch
          8 kB
          Markus Wiederkehr
        2. DecoderUtil.java
          11 kB
          Aron Wieck
        3. DecoderUtil.diff
          13 kB
          Aron Wieck
        4. RegexDecoderUtil.java
          4 kB
          Aron Wieck

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: