JSD cannot handle email with subject which is encoded in UTF-8 with base64 and contains a line feed

XMLWordPrintable

    • 3
    • Severity 3 - Minor

      Summary

      When the subject of incoming mail contains a line feed and is encoded in UTF-8 with base64, Service Desk mail processor will not be able to create a new ticket from this email.

      Steps to Reproduce

      1. Configure a SD mail channel.
      2. Send a test email with a subject that contains a line feed.
      3. Verify the raw source of the incoming email : the subject is encoded in UTF-8 with base64, as shown in example below
        Subject: =?utf-8?B?VGhpcyBpcyB0aGUgMyBTdWJqw6hjdCAKIExpbmUgd2l0aCBicmVhayE=?=
        

      Expected Results

      A ticket is created from the incoming email.

      Actual Results

      Following error is thrown by mail processor asking for a valid value for the "summary" field:

      Notes

      Though the error message complains that there is no valid value for the "summary" field, from the screenshot, we can see that the Mail subject is correctly parsed.
      The issue cannot be reproduced with JIRA mail handler.

      Workaround

      No workaround at the moment

            Assignee:
            Unassigned
            Reporter:
            Chen Mao (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: