Page 1 of 1

Attachment extensions

Posted: Fri Oct 21, 2022 6:17 am
by Noke101
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi there,

I started the implementation of digital signatures in my enterprise, files signed with an dig.signature change their extension.
For example, if I signed a .pdf file, then after signing it will change the format to .pdf.sig

I can't attach such file to hesk.
I add the format to the allowed ones, and after saving the HESK, it changes it to .pdfsig, removing the dot between.

Before saving

Code: Select all

.jpg,.jpeg,.png,.doc,.docx,.xls,.xlsx,.txt,.pdf,.csv, .pdf.sig
After saving

Code: Select all

.jpg,.jpeg,.png,.doc,.docx,.xls,.xlsx,.txt,.pdf,.csv,.pdfsig
What can be done about it?

Re: Attachment extensions

Posted: Fri Oct 21, 2022 7:03 am
by Klemen
You should just add the last extension, so

Code: Select all

.sig
Example:

Code: Select all

.jpg,.jpeg,.png,.doc,.docx,.xls,.xlsx,.txt,.pdf,.csv,.sig

Re: Attachment extensions

Posted: Fri Oct 21, 2022 7:24 am
by Noke101
Klemen wrote: Fri Oct 21, 2022 7:03 am You should just add the last extension, so

Code: Select all

.sig
Example:

Code: Select all

.jpg,.jpeg,.png,.doc,.docx,.xls,.xlsx,.txt,.pdf,.csv,.sig
Oh my god why didn't I think of doing that.
Thanks!)