For https://github.com/dotnet/aspnetcore/issues/40628
mentioned in commit 65b53693
mentioned in commit 2a6ebdb7