mirror of
https://github.com/msurguy/laravel-ajax-example.git
synced 2026-01-08 22:18:01 -05:00
Fixed form input.
Added htmlentities conversion to the form input
This commit is contained in:
2
Boxfile
2
Boxfile
@@ -1,4 +1,6 @@
|
||||
global:
|
||||
env:
|
||||
- LARAVEL_ENV: production
|
||||
web1:
|
||||
name: laravelajaxexample
|
||||
shared_writable_dirs:
|
||||
|
||||
@@ -92,8 +92,8 @@ Route::post('submit', function()
|
||||
{
|
||||
// When the form is submitted, we can do some DB queries and let the user know that the form was submitted.
|
||||
|
||||
$name = Input::get('name');
|
||||
$checker = Input::get('checker');
|
||||
$name = e(Input::get('name'));
|
||||
$checker = e(Input::get('checker'));
|
||||
|
||||
$data = array(
|
||||
"html" => '
|
||||
|
||||
Reference in New Issue
Block a user