BInput XSS protection using get instead of all when processing setup data.

This commit is contained in:
Alex Richards
2015-01-02 17:12:30 +00:00
parent 436e3f8f06
commit 5a8f64fe4f

View File

@@ -42,7 +42,7 @@ class SetupController extends Controller
*/
public function postIndex()
{
$postData = Binput::get();
$postData = Binput::all();
$v = Validator::make($postData, [
'settings.app_name' => 'required',