Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
5.0.1
-
None
-
None
-
-
Empty show more show less
-
5.1 Beta1- Frontend
Description
See SUPPORT-2528
On Windows environment, creating a MailAttachment from a File parameter incorrectly sets its uri to file prefix + absolute path, e.g. file://C:/...
This results in an IOException/UnknownHostException: C when sending the e-mail.
Essentially, it seems to expect the following pattern: protocol://hostname/path;
if hostname is blank it expects the third slash right away.
We may well leave uri resolution up to the client and deprecate the setPath method for setUri.
Checklists
Acceptance criteria
Attachments
Issue Links
- clones
-
MAGNOLIA-5168 MailAttachment uri may be set incorrectly
-
- Closed
-
- duplicates
-
MAGNOLIA-3597 Attach a File with MailAttachment on Windows platform
-
- Closed
-