Problem/Motivation
As instructed I'm opening this issue after the latest Drupal Core security update broke my site due to its dependency on a newer version of symfony.
After updating Drupal core and clearing caches, the front end fails to load pages of a certain content type and displays "Client error" as the title. The layout builder admin UI also shows "Client error" and is unavailable. The watchdog reports:Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Invalid URI: A URI must not start nor end with ASCII control characters or spaces. in Symfony\Component\HttpKernel\HttpKernel->handle() (line 83 of /var/www/***/vendor/symfony/http-kernel/HttpKernel.php).
I'm using layout builder on the pages in question to place a number of views blocks. I've been able to narrow the issue down to the included 2 views, I included the simplest one. It seems like the contextual filters are causing the problem.
Hope this helps, thanks in advance for any attention to this.