AntiforgeryValidationException preventing Blazor app to start on IIS Web App. (case sensitive url)
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [X] 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.

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

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

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_
Contributor guide
Assessment
This issue has not been assessed yet.