What if `$queryString` is empty ? We'll have an orphan `?`.

Better do something like this:

```php
$queryString = $request->getQueryString();

// ...
new RedirectResponse ( $semanticPathinfo . $queryString ? "?$queryString" : '' );
```