- Compatibility with Symfony 4
- Fixed regression in 1.5.2
- Fixed bundle initialization in case paths is empty
- Fixed
forced_allow_origin_value
to always set the header regardless of CORS, so that requests can properly be cached even if they are not always accessed via CORS
- Added an
forced_allow_origin_value
option to force the value that is returned, in case you cache responses and can not have the allowed origin automatically set to the Origin header - Fixed
Access-Control-Allow-Headers
being sent even when it was empty - Fixed listener priority down to 250 (This may be BREAKING depending on what you do with your own listeners, but should be fine in most cases, just watch out).
- Fixed requirements to allow Symfony3
- Added an
origin_regex
option to allow defining origins based on regular expressions
- Fixed a security regression in 1.3.2 that allowed GET requests to be executed from any domain
- Removed 403 responses on non-OPTIONS requests that have an invalid origin header
- Fixed path key normalization to allow dashes in paths
- Fixed HTTP method case folding to support clients that send non-uppercased method names
- Added support for host-based configuration of the bundle
- Bumped symfony dependency to 2.1.0+
- Fixed invalid trigger of the CORS check when the Origin header is present on same-host requests
- Fixed fatal error when
allow_methods
was not configured for a given path
- Fixed issue when
allow_origin
is set to*
andallow_credentials
totrue
.
- Added ability to set a wildcard on accept_headers
- Initial release