diff --git a/laravel/laravel.php b/laravel/laravel.php index d6d64424..a27d9c00 100644 --- a/laravel/laravel.php +++ b/laravel/laravel.php @@ -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; /**