Why Cors AddPolicy doesn't allow *.example.com ?
From @AhmedRagheb on January 5, 2018 13:58
Hello,
Is there a reason (security may be) that prevent Cors AddPolicy from adding all subdomains of my domain in Origins list. As I think it doesn't make sense to add all my subdomains to the Origins list.
Thanks.
Copied from original issue: dotnet/coreclr#15753
This belongs to https://github.com/aspnet/CORS repo
This issue was moved to aspnet/CORS#140
Any updates or explanation regarding this?
See https://github.com/aspnet/CORS/issues/75 and https://github.com/aspnet/CORS/pull/94 for why we ended up not supporting wildcards and instead gave you a function you can use.
Closing since this question has been answered.