workaround magic quotes.

This commit is contained in:
Taylor Otwell
2012-01-24 09:09:14 -06:00
parent 27502918fb
commit 4d87565f74

View File

@@ -110,6 +110,11 @@ switch (Request::method())
*/
unset($input[Request::spoofer]);
if (function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc())
{
$input = stripslashes($input);
}
Input::$input = $input;
/**