Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2450

Invalid comparison for protocol

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0
    • 3.6.1, 3.6.3
    • mail

    Description

      In the code of the MgnlMultipartEmail there is at line 98 the following check:

      DataSource fds = url.getProtocol().startsWith("file:")

      The comparison includes a semicolumn, which will never be part of the protocol. This line should be changed to:

      DataSource fds = url.getProtocol().startsWith("file")

      According to the java implementation a protocol consists only of letters... and a colon ( : ) is not a letter.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              tmiyar Teresa Miyar
              leviter Marcel van den Brink
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD