Comments (2)
It's complicated. So complicated there's an RFC - https://tools.ietf.org/html/rfc4343
Basically for ASCII domains it's case insensitive, but punycode (what Internationalised domain names convert into) kinda, sorta, messed it up.
However, we ought to normalise in our checks, and then allow case sensitivity as an option.
from cors.
This issue was moved to dotnet/aspnetcore#2373
from cors.
Related Issues (20)
- Set VaryByOrigin for origins other than * HOT 1
- Log when we see an OPTIONS without AccessControlRequestMethod HOT 1
- Jwt Auth with Angular Auth0 and AspNetCore No 'Access-Control-Allow-Origin' header is present on the requested resource HOT 5
- Move CorsOptions to root namespace HOT 1
- EnableCorsAttribute has a way to set policy name via the ctor and the property HOT 2
- Add an empty constructor for EnableCorsAttribute HOT 4
- Asp.net core web api that returns File is throwing No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access HOT 4
- CorsMiddleware not rejecting invalid requests HOT 7
- Using a stricter CORS policy for just one controller HOT 3
- The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed HOT 14
- Remove duplicate header names and method constants HOT 1
- Should CORS be abandoned? HOT 1
- GET and POST requests from blocked origin still executed HOT 5
- Forward `IDisableCorsAttribute` to a more broadly-used package HOT 7
- EnableCors security and client application concerns HOT 9
- Exception, when origin is null in CorsPolicyExtensions.cs HOT 5
- THIS ISSUE TRACKER IS CLOSED - use the Home repo issue tracker
- Why Cors AddPolicy doesn't allow *.example.com ? HOT 2
- CORS Headers don't display in response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cors.