James Mime4j
  1. James Mime4j
  2. MIME4J-138

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

      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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development