Remove magic quotes when saving a value [patch]
|Reported by:||blueyed||Owned by:||moo|
When you edit a value in the XCache admin, magic quotes (inserted by PHP) do not get removed.
Therefor, with magic_quotes_gpc=pn a value like "'foo'" will get saved as "\'foo\'" by xcache.
I'll attach a patch with fixes this, by dynamically defining a remove_magic_quotes() function to handle this.
Change History (6)
Changed 8 years ago by blueyed
comment:2 Changed 8 years ago by moo
- Milestone set to 2.0.0
- Version changed from 1.2-dev to 2.0.0-dev