I added a new ticket to a project to which I was subscribed.
I received an email titled 'New ticket #1 (Ticket Name) on project Project 1'
Within the body of the email quotation marks were shown as escaped:
A new logo is required that places more emphasis on the \'Dog\' and less on the \'Cat\'
It should be more dynamic.
The quotation marks should not be escaped
I also cannot reproduce the issue. What version of PHP are you using?
I'm on 5.3.21
I've put a phpinfo() page up here if it's of help: http://support.damselflydevelopment.com/phpinfo.php
The escaped quotes are also showing in the interface, see http://hob.so/NEVg
This is what the email looks like: http://hob.so/NFWc
You appear to have magic_quotes_gpc
turn on, this causes PHP to addslashes
user inputted data.
Check out the PHP.net page for disabling magic quotes.
I was having trouble in disabling magic_quotes_gpc
on my shared hosting. I don't have access to php.ini and putting it in .htaccess gave a 500 error.
However I found another solution via php.net, see example 2 at http://us.php.net/manual/en/security.magicquotes.disabling.php
I put that code in index.php and now it's working fine. I'm sure there's a better place to put it within the avalon framework, but that will do as a quick and dirty for now.
Perhaps this fix can be implemented in a future version to make it less reliant on hosting config?
I couldn't reproduce the problem. With the exact same text, I get no leading slashes. My guess is that it's a server config issue; I'm running stock PHP 5.4.12.