I wonder how (if anyhow) is XSS protection provided in Laravel. I couldn\'t find anything about it in the documentation.
Problem
I am using
As far as I know, the "official" Laravel position is that XSS prevention best practice is to escape output. Thus, {{{ }}}.
{{{ }}}
You can supplement output escaping through input sanitation with Input::all(), strip_tags(), and array_map():
Input::all()
strip_tags()
array_map()
$input = array_map('strip_tags', \Input::all());