UrlGenerator doesn't use http_build_query fourth parameter, thus encoding spaces as + because of the application/x-www-form-urlencoded media type.
As route extra parameters aren't used in a form context I think PHP_QUERY_RFC3986 should be used.
Twig does that already.