workaround magic quotes.

This commit is contained in:
Taylor Otwell 2012-01-24 09:09:14 -06:00
parent 27502918fb
commit 4d87565f74
1 changed files with 5 additions and 0 deletions

View File

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