[Hackday][FrameworkBundle] RedirectController::redirect preserve query params #9242

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9242
| License       | MIT
| Doc PR        | n/a

Changed RedirectController::redirect to preserve query parameters. This behaviour is consistent with RedirectController::urlRedirect
Actually, you might just try to test this in a separate test method, as this one is no longer readable (I just noticed the if statement above).