Ticket #104 (closed defect: fixed)
Remove magic quotes when saving a value [patch]
| Reported by: | blueyed | Owned by: | moo |
|---|---|---|---|
| Priority: | major | Milestone: | 2.0.0 |
| Component: | admin | Version: | 2.0.0-dev |
| Keywords: | patch | Cc: | |
| Blocked By: | PHP Version: | ||
| Application: | Need User Feedback: | no | |
| Other Exts: | SAPI: | FastCGI | |
| Probability: | Blocking: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

