path()); if (! mb_check_encoding($decodedPath, 'UTF-8')) { throw new MalformedUrlException; } return $next($request); } }