mailto issue in ticket responses

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
seth
Posts: 2
Joined: Thu Jun 18, 2015 12:41 pm

mailto issue in ticket responses

Post by seth »

Script URL: http://www.hebrewbible.co.il/support/
Version of script: 2.5.2
Hosting company: BlueHost
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Hesk mailto

Write your message below:

I have an occasional problem where we submit a ticket response with a URL with an email address in it. It converts the email address into a mailto link and embeds that in the URL, which is quite a mess. How can I disable the creation of the mailto link part so that we will have a decent clickable URL?

It is a bit hard to find information on this when Googling due to the common search terms I used.

Here is an example:

We submit:

Please go here: http://www.site.com/signup.asp?payer_em ... @gmail.com

The ticket winds up looking like this:

Please go here: <a href="http://www.<a href="mailto:site.com/signup.asp?payer_email=user@gmail.com">site.com/signup.asp?payer_email=user@gmail.com</a>">http://www.<a href="mailto:site.com/signup.asp?payer_email=user@gmail.com">site.com/signup.asp?payer_email=user@gmail.com</a></a>

TIA!
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: mailto issue in ticket responses

Post by Klemen »

You have two options:

1. correctly encode emails in URL addresses - replace "@" with "%40", for example:
http://www.site.com/signup.asp?test%40gmail.com



- OR -


2. you can open file inc/common.inc.php and delete 9 lines of code, from

Code: Select all

// matches an email address
to

Code: Select all

);
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
seth
Posts: 2
Joined: Thu Jun 18, 2015 12:41 pm

Re: mailto issue in ticket responses

Post by seth »

Thank you for your help!!
Post Reply