Jump to content



Issue Information

  • #000261

  • 0 - None Assigned

  • Won't Fix

  • 3.0.1

  • 3.0.2

Issue Confirmations

  • Yes (0)No (0)
Photo

Duplicated "\" in textarea fields

Posted by Gergely on 10 April 2011 - 07:30

Hi Harald,

Duplicate "\" in textarea fields
Example:
When edit E-Mail From field "" <> change to \"tgely V3\" <***@******.hu>. if edit more i seee more and more \n.



Many thanks for error reports categories!

regards,
Gergely

Hi Harald,

i found it only my linux online server host, but at my local windows xamp it looks like perfect work. /blink.gif' class='bbc_emoticon' alt=':blink:' />

regards,
Gergely
[/quote]

This problem is critical for edit language sets with (") quote character in text. The results contain /" after first saving. every new saving duplicates all displayed /".

for example
" -> /"
/" -> //"
//" -> ////"
////" -> ////////"
and so on

regards,
Gergely



Hi Gergely..

Do you happen to have magic_quotes_gpc enabled in php.ini on your Linux server where this issue occurs?

Kind regards,

Hi Gergely..

Do you happen to have magic_quotes_gpc enabled in php.ini on your Linux server where this issue occurs?

Kind regards,


Hi Harald..

yes magic_quotes_gpc is On

regards,
Gergely

Updating status to: In Progress

Hi Gergely..

magic_quotes_gpc should be disabled - it is deprecated in PHP 5.3.

There is no compatibility code to handle this as it should be disabled in php.ini. Perhaps a warning can be shown on the Admin Dashboard if it is enabled.

Kind regards,

Updating status to: Won't FIx
Issue fixed in: 3.0.2

Hi Gergely..

The Setup Site now correctly checks against magic_quotes_gpc instead of magic_quotes. As this is a deprecated setting, no compatibility code will be added to work around it on servers that have it enabled.

The commit is:

https://github.com/o...33ca1d8fe00e4c6

Marking as Won't Fix.

Thanks for the report!