jdesrosiers / silex-cors-provider

A silex service provider that adds CORS services to silex
MIT License
78 stars 25 forks source link

Default Origin is not `any` #7

Closed jrschumacher closed 10 years ago

jrschumacher commented 10 years ago

The README says the default origin is all but on L104 it is explicitly set to null.

XMLHttpRequest cannot load http://example.com/api/person. The 'Access-Control-Allow-Origin' header contains the invalid value 'null'. Origin 'https://example.localtunnel.me' is therefore not allowed access.

jrschumacher commented 10 years ago

I believe all is *

jrschumacher commented 10 years ago

I would have pushed a change, but I see its been moved to Silex 2.0 which is a potential breakage for me.

jrschumacher commented 10 years ago

Actually I was wrong. Some reason composer pulled a really old version despite my request ~0.1