Fix for 8514270 - Attachments from a particular sender is getting dropped due to invalid file name

Fix for 8514270 - Attachments from a particular sender is getting dropped due to invalid file name

Issue:

      1. When mails sent from a particular tool (AV tool in this case), the attachments are getting dropped.
      2. The name of the attachment after processing is "=?utf-8?Q?=31=64=39=35=66=33=34=33=2D=39=31=39=34=2D=34=61?= =?utf-8?Q?=31=39=2D=62=36=62=34=2D=35=37=31=32=64=62=36=30?= =?utf-8?Q?=36=66=65=62=2E=68=64=72=2E=70=6E=67?="
      Due to this, filename invalid error is thrown and customer received notification as "Attachment dropped due to invalid filename"

Fix:

      The filename from attachment is decoded properly

Steps to apply this fjar

1. Download the attached fjar file compatible to your build version.
3. Click here on steps to apply the fjar file.
3. Restart the application service.
4. Check for the issue by triggering the issue causing mail
5. If the attachment still gets dropped, 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 ticket number as 8514270.

Compatible jars:

Build
Fjar file
14006
14006_8514270.fjar
14205
14205_8514270.fjar



The attached 14006_8514270.fjar is compatible with 14006 build only

                  New to ADSelfService Plus?

                    • Related Articles

                    • MSSQL error 'Invalid Object name'

                      When you get a similar error as mentioned below  java.sql.BatchUpdateException: Invalid object name 'TABLE NAME' please change the COLLATION in the MSSQL server for the database 'servicedesk' as CASE-INSENSITIVE. You can get this error at the time of ...
                    • Fix: Inline images in Incoming mail are dropped due to size restriction

                      Issue: Since release of 14710 build version, we have started validating the size of the inline images in the Incoming mails. If the size exceeds the 3MB (same max size when you insert an image in the html fields from web portal), the inline images ...
                    • Fix: Mail fetching stops due to invalid characters in the attachment name

                      Issue: Mail fetching being stopped due to invalid characters "?" , ":" in the filename. In this case, the eml file's subject contains ":" character and so, while uploading the .eml as attachment, error is thrown (Only in windows server) Trace: ...
                    • Fix for Attachment being dropped in 14501 series

                      Issue: Due to special characters in the attachment, the attachment from mails are getting dropped. Fix: 1. The special characters in the attachment are replaced with "_" character. (Fixed in 14505 build. SD-113853) 2. Even then if the attachment name ...
                    • 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 ...