Development

#3458 (gpc_magic_qutes and array in cookie)

You must first sign up to be able to contribute.

Ticket #3458 (closed defect: fixed)

Opened 8 months ago

Last modified 6 months ago

gpc_magic_qutes and array in cookie

Reported by: proteus Assigned to: fabien
Priority: minor Milestone: 1.0.17
Component: other Version: 1.0.15
Keywords: Cc:
Qualification: Unreviewed

Description

If gpc_magic_quotes is "on", a sfWebRequest::getCookie() method causes a warning, when trying to get an array from cookie. Also array is converted to string, so developer will not receive data, but string 'Array' istead. I think this is because of striplshashes function used without checking data type returned by cookie (array or string).

Change History

05/13/08 17:21:00 changed by proteus

  • version changed from 1.0.13 to 1.0.15.

05/21/08 17:24:55 changed by fabien

  • milestone set to 1.0.17.

06/28/08 09:46:19 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [9959]) fixed gpc_magic_qutes and array in cookie (closes #3458)

06/28/08 09:46:34 changed by fabien

(In [9960]) fixed gpc_magic_qutes and array in cookie (closes #3458)