Skip to content

AntiforgeryValidationException preventing Blazor app to start on IIS Web App. (case sensitive url) #57920

Open
@maiemy

Description

@maiemy

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The problem start when deploy my Blazor aspnet core 8 app on IIS like the image below.

image

If I use the url in browser with the same name in the base tag everything works.

image

If the url is correct but with the web app name with different case I receve the error below. For example portal instead of Portal

image

could you help me?
I think the url should be case insentitive in the management of the Antiforgery.

thanks

Expected Behavior

I think the url should be case insentitive in the management of the Antiforgery.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

net 8

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-dataprotectionIncludes: DataProtection

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions