Invalid comparison for protocol
-------------------------------
Key: MAGNOLIA-2450
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2450
Project: Magnolia
Issue Type: Bug
Components: mail
Affects Versions: 3.6.3, 3.6.1
Reporter: Marcel van den Brink
Assignee: Boris Kraft
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------