- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2022 09:20 AM
Hello all.
We should attach to KB articles attachment of xlsx files digitally signed (p7m), just like "example_file.xlsx.p7m".
Both extension are permitted in system property "glide.attachment.extensions" and we want to mantain "glide.security.file.mime_type.validation" set to true.
"File type not permitted or mime type does not match the file content" is the only answer we get from the system...
How can we do?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2022 09:35 AM
Hello,
You can workaround most cases of this issue by (1) mapping the file extension to its expected mime type by updating or creating the system property: 'glide.security.mime_type.extension_mapping', and if that isn't sufficient proceeding to (2) forcing the system to accept different file types for that extension by updating or creating the system property: 'glide.security.mime_type.aliasset'
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0750111

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2022 09:35 AM
Hello,
You can workaround most cases of this issue by (1) mapping the file extension to its expected mime type by updating or creating the system property: 'glide.security.mime_type.extension_mapping', and if that isn't sufficient proceeding to (2) forcing the system to accept different file types for that extension by updating or creating the system property: 'glide.security.mime_type.aliasset'
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0750111
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2022 09:57 AM
Hi,
Please refer to below HI Article which talks on how to resolve the issue you are getting:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0718011
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke