Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2074

Support Manager: Tickets emailed in may fail to be added if one has an invalid from address

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 4.0.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      Emails to support departments may fail to be created as tickets in the support system if the email comes from an email address. This is possible, for example, if the email is from a spammer that included a spoofed From address.

      The result is that all emails parsed for the support department after the invalid email is parsed are unable to be imported into the support system.

      Here's a fix:
      Open /plugins/support_manager/components/ticket_manager/ticket_manager.php and find the following three lines:

      $from = $this->EmailParser->getAddress($email, "from");
      if (isset($from[0]))
      $from = $from[0];

      After those lines, add the following on a new line:

      $from = (is_string($from) ? $from : '');

      Save the change.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Sep/16