Skip to content

Request QueryString key names became case-sensitive #63298

@LazZiya

Description

@LazZiya

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Query string key names are case sensitive, I found a similar issue #35662 that was solved but it is locked now. However, I face the same issue with Asp.Net Core .Net 9.0.

I also checked the docs in Model Binding in ASP.NET Core and it is mentioned that name matching is not case-sensitive!

https://contoso.com/api/pets/2?DogsOnly=true
Looks through the sources and finds "DogsOnly=true" in the query string. Name matching is not case-sensitive.

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

9.0.304

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.area-ui-renderingIncludes: MVC Views/Pages, Razor Views/Pages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions