[Solar-svn] Revision 2781
pmjones at solarphp.com
pmjones at solarphp.com
Mon Sep 24 10:21:08 CDT 2007
Solar_Request: [FIX] Method reset now de-quotes the properties for get/post/cookies, instead of the globals. Thanks, Antti Holvikari.
Modified: trunk/Solar/Request.php
===================================================================
--- trunk/Solar/Request.php 2007-09-24 15:19:54 UTC (rev 2780)
+++ trunk/Solar/Request.php 2007-09-24 15:21:08 UTC (rev 2781)
@@ -390,7 +390,7 @@
// dispel magic quotes if they are enabled.
// http://talks.php.net/show/php-best-practices/26
if (get_magic_quotes_gpc()) {
- $in = array(&$_GET, &$_POST, &$_COOKIE);
+ $in = array(&$this->get, &$this->post, &$this->cookie);
while (list($k, $v) = each($in)) {
foreach ($v as $key => $val) {
if (! is_array($val)) {
More information about the Solar-svn
mailing list