Some security issues on Ajax requests

Due to commit on https://github.com/laravel/laravel/commit/c457a93ddb023f5d271a705bda3ed7c09880574c