This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
RazorPages page directives missing quotes should alert user #5868
Closed
Description
Edit: Reopening after some discussion.
The issue here is that if we can't parse the route we can't assign what the user 'expects' the route to be to the page. So if the user can't visit the page because it doesn't get the URL that they expect, then how will they know that it's invalid?
Original
As per #5838 (comment) we should have a think about how we handle the case of @page Url/Here
. Right now we ignore the URL because it's not in quotes, but there's some concern that that will confuse the users and that we should either throw an exception or at least log a message.