Open AkshayMorey-BB opened 1 week ago
@AkshayMorey-BB - can you please provide resource details like Function App name and Resource id
@raorugan This can be replicated on azure portal by creating a function with dotnet8-quickstart-demo image as well. The Test/Run for HttpExample function succeeds if "https://portal.azure.com" is added to CORS allowed origins, but fails - with the options requests returning 404, if allowed origin is changed to "https://*.azure.com".
Which trigger/binding are you using? HttpTrigger
Which language are you using? C#
Expected behavior Options/Preflight request should succeed for subdomains added with wildcard (*)
Actual behavior Options/Preflight requests returns 404 if CORS is configured with wildcard (*) subdomain. The request succeeds if complete domain name is added.
Screenshots
![success_req](https://github.com/Azure/azure-functions-on-container-apps/assets/123961043/23639fe9-9fcf-4247-b336-d6ee425ebdce)