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.
Consider adding a way to use strict comparison for routes matching #5757
Closed
Description
Consider this action:
[HttpPost("~/path")]
public IActionResult Test() => Empty();
Oddly, either the routing stack or MVC seems to consider /path/
requests as valid candidates for this route/action, which is incorrect as /path
and /path/
are two different addresses.
Is there any particular reason for this (abusive) normalization?
Metadata
Metadata
Assignees
Labels
No labels