Skip to content
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
@kevinchalet

Description

@kevinchalet

http://stackoverflow.com/questions/42048770/asp-net-core-openiddict-throws-an-openid-connect-response-cannot-be-returned-fr

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?

/cc @Eilon @rynowak

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions