Apostrophe causing attachment error

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
maximus
Posts: 2
Joined: Fri Nov 13, 2015 8:46 pm

Apostrophe causing attachment error

Post by maximus »

Script URL:
Version of script: latest
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: apostrophe internal server error

Write your message below:

Hi, I'm not sure if this is an already reported bug and I did a search beforehand to no results.

Each time I try to attach a file to a ticket that has an apostrophe in the file name (whether from customer side or admin side), I get a 500 Internal Server Error. Is there any fix to this that I'm simply unaware of or is it truly a bug?

Thanks for your help!
Klemen
Site Admin
Posts: 10167
Joined: Fri Feb 11, 2005 4:04 pm

Re: Apostrophe causing attachment error

Post by Klemen »

A 500 error is returned by the server, not by HESK. Also, HESK removes any unsafe chars from file names before using them.

This is most likely caused by security software on your server, probably a mod_security rule being triggered. Ask your hosting company to verify mod security log.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply