Allow attachment of files with no extension
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2017 02:14 AM
Hello,
Our attachment file extension is currently restricted using the sys_property:
glide.attachment.extensions = "doc,docx" (and some others extensions)
We would like to also allow attachments with no extensions.
I tried adding "," or ",,"
glide.attachment.extensions = "doc,docx,"
glide.attachment.extensions = "doc,docx,,"
But this does not work.
Does anyone know any workarround to allow files with no extensions?
Regards,
- Labels:
-
Integrations
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2017 02:51 AM
As mentioned in the documentation when this property is activated then you have to specify an extension otherwise it beats the purpose of this property. If you need to attached files with out extension then you can set this property to blank but this will also attach all kinds of extension.:
The glide.attachment.extensions property restricts the file extensions that are permissible to upload as attachments. Use this property to improve security by preventing users from uploading harmful files, such as viruses, as attachments. Additionally, this functionality can prevent the use of incompatible file types. For example, Internet Explorer does not support icons in .png format. Note that this property does not restrict files based on the actual file type, but only based on the extension.
To restrict file extensions for attachments:
- Navigate to System Properties > Security.
- In the Attachment limits and behavior section, locate the List of file extensions (comma-separated) that can be attached to documents via the attachment dialog. Extensions should not include the dot (.) e.g. xls,xlsx,doc,docx. Leave blank to allow all extensions. property.
- Enter the file extensions and click Save.
- If no extensions are specified, then all extensions are allowed. However, if any extensions are specified, all unlisted extensions are restricted.
https://snprotips.com/blog/2016/2/25/understanding-and-using-glideattachment
glide.attachment.extensions | Comma-separated list | Enter a comma-separated list of attachment file extensions (not including the 'dot') which should be allowed. To allow all, leave this property value blank. Note that unless this is blank, any attachments not listed here will be blocked. |
A way to work around this is to give all your files that have no extension a custom extension like .xyz and the allow that extension in the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 06:16 AM
Thanks for taking the time to answer,
Yes, I also think there is no solution to our issue.
Regards,
Marc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 06:19 AM
Hello Mark,
Unfortunately it seems to be the case.