Changeset View
Changeset View
Standalone View
Standalone View
src/app/Http/Kernel.php
Show All 13 Lines | class Kernel extends HttpKernel | ||||
* @var array | * @var array | ||||
*/ | */ | ||||
protected $middleware = [ | protected $middleware = [ | ||||
\App\Http\Middleware\RequestLogger::class, | \App\Http\Middleware\RequestLogger::class, | ||||
\App\Http\Middleware\TrustProxies::class, | \App\Http\Middleware\TrustProxies::class, | ||||
\App\Http\Middleware\CheckForMaintenanceMode::class, | \App\Http\Middleware\CheckForMaintenanceMode::class, | ||||
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, | \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, | ||||
\App\Http\Middleware\TrimStrings::class, | \App\Http\Middleware\TrimStrings::class, | ||||
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, | // \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, | ||||
vanmeeuwen: Why is this disabled? | |||||
machniakAuthorUnsubmitted Done Inline ActionsI found it problematic with input validation. Not impossible, but harder to handle . For example, user settings cannot be NULL at the moment, so to reset (set to an empty value) a setting we just POST empty strings. If they are converted to null, we need to add more code to detect that. machniak: I found it problematic with input validation. Not impossible, but harder to handle . For… | |||||
]; | ]; | ||||
/** | /** | ||||
* The application's route middleware groups. | * The application's route middleware groups. | ||||
* | * | ||||
* @var array | * @var array | ||||
*/ | */ | ||||
protected $middlewareGroups = [ | protected $middlewareGroups = [ | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |
Why is this disabled?