Skip to content

Commit

Permalink
add EnsureBinaryEncodingto middleware stack
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Jun 18, 2020
1 parent 9e7a22d commit e40a539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Runtime/HttpKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Illuminate\Http\Response;
use Illuminate\Pipeline\Pipeline;
use Illuminate\Support\Facades\Facade;
use Laravel\Vapor\Runtime\Http\Middleware\EnsureBinaryEncoding;
use Laravel\Vapor\Runtime\Http\Middleware\EnsureOnNakedDomain;
use Laravel\Vapor\Runtime\Http\Middleware\EnsureVanityUrlIsNotIndexed;
use Laravel\Vapor\Runtime\Http\Middleware\RedirectStaticAssets;
Expand Down Expand Up @@ -56,6 +57,7 @@ public function handle(Request $request)
new EnsureOnNakedDomain,
new RedirectStaticAssets,
new EnsureVanityUrlIsNotIndexed,
new EnsureBinaryEncoding(),
])->then(function ($request) use ($kernel) {
return $kernel->handle($request);
});
Expand Down

0 comments on commit e40a539

Please sign in to comment.