This case was fixed by 2992f8e - this commit just adds a test to verify the fix.
2992f8e
This web site is used for functional tests of the Razor Pages feature of MVC.