public function updateLegacyURI(Request $request)
    {
        $viewParametersString = rtrim(
            $request->attributes->get(
                'semanticPathinfo',
                $request->getPathinfo()
            ) . $request->attributes->get('viewParametersString'),
            '/'
        );

        $uri = eZURI::instance();
        $uri->setURIString($viewParametersString);
    }