Inline images dropped due to "x-png" image type

Inline images dropped due to "x-png" image type

Issue:

      The embedded inline images in the mail gets dropped

Reason:

      The embedded inline images in the content has the data uri as "data:image/x-png;base64,xxxx". While processing this embedded image, we generate the inline image file name as "<random>.x-png" (we create the extension based on the content type in the data uri). Due to this extension "x-png", the inline image gets failed to process (we allow only png, gif, jpeg, jpg, bmp extensions for inline images)

Fix:

      Based on an internal logic, we create the inline image file name as "<random>.png" for the above embedded image. Now, the inline image gets processed properly

Steps to apply the fix:

1. Download the attached .fjar file.
2. Click here for steps to apply the .fjar file.
3. Restart the application service.
4. If the issue occurs again, enable the email debug in the application, recreate the issue after enabling the email debug then immediately zip the logs (<server_home>\logs folder. For eg: C:\Program Files\ManageEngine\ServiceDesk\logs folder) and share it with us for analysis. If the size of the log file is huge, you can send it to us using our FTP link https://bonitas2.zohocorp.com/. Select the product as "ServiceDesk Plus" and provide the proper ticket number.

Issue Id: SD-123126

Jar compatibility:

Build
Compatible Jar
14750
14750_10193575.fjar

                  New to ADSelfService Plus?