class ValidatePathEncoding (View source)

Methods

Response
handle(Request $request, Closure $next)

Validate that the incoming request has a valid UTF-8 encoded path.

Details

Response handle(Request $request, Closure $next)

Validate that the incoming request has a valid UTF-8 encoded path.

Parameters

Request $request
Closure $next

Return Value

Response

Exceptions

MalformedUrlException

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.