Exception while Processing Inline Image with incorrect file name extension

Exception while Processing Inline Image with incorrect file name extension

Reference : #7938623#8561970

Cause :  
      Inline Images could not be processed with incorrect file name, for example "4d54308871ec465c8233d0f470db0308.do?sys_id=4fdfcb17475c1d50c594c133846d436a" . While constructing the filename in our end, the values after the ' ' along with the query string is appended to filename, as extension. 

      Due to Security Configurations, inline images could not be loaded other than {"png","jpg","jpeg","gif","bmp"}.  Also currently we are not restricting filenames with invalid extensions. 

Fix :
     Currently in this fix, while validating filename, if filename has valid extension, then extension is parsed from filename. If the content type has valid extension, then that extension is appended to filename. other inline images are prevented.

JAR Compatibility : 13002
        New to ADManager Plus?

          New to ADSelfService Plus?

            • Related Articles

            • Mail Fetching Stopped Due to Inline Image Handling

              Issue Cause : While fetching a mail, in certain mail servers, cid of inline image is not parsed correctly. Once inline stream is converted to image, cid in src attr will be replaced with image url. cid for uploaded inline image in mail content is not ...
            • Mail Fetching - Error while processing attachment and inline image.

              Issue During the process of fetching emails, attachments are dropped as a result of the presence of directory traversal characters. Furthermore, an issue arises when processing inline embedded images, this particular error related to inline images ...
            • Fix JAR for Parse Error Exception Raised during Mail Fetching

              Issue : Some mail are fetched and created as ticket without description due to message corruption temporarily. The issue is can be identified with the below trace. Fix : The issue is not recreated when the mail is skipped to next schedule and fetched ...
            • Missing Whitespace Character

              Issue: When the mails are fetched using EWS, the mail processing skips the whitespace (blank space) character in certain scenarios. (Example case: Two different words get merged into a single word). Resolution: The fix for the issue has been attached ...
            • Troubleshooting Oauth configuration for mail server settings

              Oauth in ServiceDesk Plus / AssetExplorer for Mail SDP supports Oauth configuration for Office365 and GSuite mailboxes since 11106 build. Office365 mailboxes can be configured with Oauth authentication using EWS (since 11106) and IMAP / SMTP (since ...