This repository was archived by the owner on Dec 14, 2018. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork2.1k
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Pages should trim quotes from route templates #5835
Closed
Description
This page (HelloWorldWithRoute.cshtml):
@page "Some/Path/{text}"Hello, @(ViewContext.RouteData.Values["text"])!produces the route templateHelloWorldWithRoute/"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.