.Map method is broken in net8rc1

branches:

  1. blazor-net7-works: this is simplest form of our sln, working as expected.
  2. blazor-net8-broken: just moving to .net8rc1 breaks router.
  3. plain-net7-works: to verify the issue is not related to blazor: router works as expected.
  4. plain-net8-broken: router does not work like net7.

run on any branch, the call below should end up in the controller, not the fallback html file.

curl "https://localhost:7261/subpath/ctrl/hi?x=1"