I'm attempting to modify the URI of each request, changing it from /path to /admin/path. I expected this to change the request to the new route, but it continues to return to the old path without any changes.
$newpath = '/regular' . $path;
$request->server->set("REQUEST_URI", $newpath);
return $next($request);