Closed thewilkybarkid closed 7 years ago
Thanks for bringing this to my attention. I'm looking into it. It correctly handles 404 for CORS preflight requests, but I didn't realize it was giving the wrong response for non-CORS requests.
I just tagged a fix. Please let me know if you have any more issues.
Great, thanks for the prompt fix!
CorsServiceProvider
makes theOPTIONS
method available for any path. If I do aGET
request to a route that doesn't exist, Silex returns a405 Method Not Allowed
rather than the expected404 Not Found
.