Author Topic: 1.3.3 - Single Quote and Double Quote Rendering Backslashes (SOLVED)  (Read 2750 times)

Offline djkalima

  • Newbie
  • *
  • Posts: 6
Recently updated to 1.3.3 and noticed a strange issue when sending emails.

Any time a single or double quote is used in the email draft, once sent, RC is adding a backslash to the text. For example:

New Email Copy as follows:
Code: [Select]
This isn't a new test. This server's test is, "testing the email's test."
The recipient receives the above as the following:
Code: [Select]
This isn\'t a new test. This server\'s test is, \"testing the email\'s test.\"
(See screenshot)

This issue occurs when composing in HTML as well as plaintext!

Some web searching mentioned that it could be a php.ini setting with "magic_quotes_gpc" active, but this feature was removed as of PHP 5.4.0. I made no changes to my server or settings between the previous install of RC and the current install.

I wasn't able to find any mention of the issue here on the forums. Any help would be greatly appreciated!
« Last Edit: January 08, 2018, 10:55:16 PM by djkalima »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: 1.3.3 - Single Quote and Double Quote Rendering Backslashes
« Reply #1 on: January 08, 2018, 10:42:48 PM »
I tired and can't reproduce the problem. What version of PHP are you using?

Offline djkalima

  • Newbie
  • *
  • Posts: 6
Re: 1.3.3 - Single Quote and Double Quote Rendering Backslashes (SOLVED)
« Reply #2 on: January 08, 2018, 10:55:06 PM »
Welp, just asking that question led me to a solution!

It looks like my domain was running on a legacy version of PHP (5.3.29). I switched it to the latest stable version availalible (5.6.21) and Boom! Problem disappeared.

I was originally misinformed by my host, stating we were running the latest version... when in reality, the latest version was "available" but not active.

Thank you!