Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application
Full Changelog: https://github.com/nelmio/NelmioCorsBundle/compare/2.3.1...2.4.0
Full Changelog: https://github.com/nelmio/NelmioCorsBundle/compare/2.3.0...2.3.1
CacheableResponseVaryListener
's priority from 0 to -10 to ensure it runs after FrameworkExtraBundle listeners have set their cache headers (#179)expose_headers
to a wildcard '*'
which exposes all headers, this works as long as allow_credentials is not enabled as per the spec (#132)skip_same_as_origin
flag (default to true which is the old behavior) to allow opting out of skipping the CORS headers in the response if the Origin matches the application's hostname (#178)Access-Control-Allow-Origin: null
headers to mark blocked requestsOrigin
in the Vary
HTTP header