This page (HelloWorldWithRoute.cshtml): ``` @page "Some/Path/{text}" Hello, @(ViewContext.RouteData.Values["text"])! ``` produces the route template `HelloWorldWithRoute/"Some/Path/{text}"`. The quotes should not be present in the route template. As a workaround I'm removing the quotes from the page, but this workaround shouldn't be allowed by Razor at all.
This page (HelloWorldWithRoute.cshtml):
produces the route template
HelloWorldWithRoute/"Some/Path/{text}". The quotes should not be present in the route template.As a workaround I'm removing the quotes from the page, but this workaround shouldn't be allowed by Razor at all.