My question originates from this post: Using Laravel 4's Input class outside the framework
At the moment, when I post some JS, the JS is executed when I print the input to the screen.
Right now I use:
$post = Input::createFromGlobals();
I would like to know how I can filter the user input. Is this something I have to do manually, or with some other class?