- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #59 Added support for php 7.1, 7.2 and 7.3 versions
- #54 [BC Break] Changed
\ZfrCors\Mvc\CorsRequestListener
eventMvcEvent::EVENT_ROUTE
priority with has slight chance to cause BC Break.
- Nothing.
- #59 Removed support for hhvm, php 5.6 and 7.0 versions
- #53, #54 Method Routes preflight
- #55 Fixed
README.md
documentation for route-based configurations - #56 Fixed issue with
zendframework/zend-http
v2.8 - #58, #57 The second step of the CORS request need router params
- You may now configure rules per-route within zend-mvc route configuration. When detected, these will override any rules that were general to the application. See the "Configuring the Module" section of the README for full details.
- ZfrCors now properly disallows
Access-Control-Allow-Origin: *
when the credentials flag is true. [#35] - The
CorsRequestListener
now no longer raises an exception when triggered duringEVENT_FINISH
if theOrigin
header is invalid, and instead just returns early. That condition is already found during pre-flight, which allows ignoring it when returning the response. [#47]
- ZfrCors will now return a 400 error if an invalid
Origin
value is sent.
- Add compatibility with Zend Component Installer
- Provides compatibility with ZF3 components (especially ServiceManager v3 and EventManager v3) [#37]
- Ensure that the vary header is set when no origin is set [#31]
- You can now use the wildcard character for allowing domains. You can now use "https://*.example.com" rather that manually specifying all subdomains.
- ZfrCors now properly detects a CORS request if the scheme is different.
- ZfrCors now properly detects a CORS request if the port is different.
- Segregate preflight vs. inflight CORS requests. Preflight detection continues to happen during the "route" event. However, inflight requests are detected now during the "finish" event in order to ensure they operate on the same response object as will be sent back to the client. (#16)
- Properly set "Access-Control-Allow-Credentials" for normal requests if credentials are allowed (#13).
- ZfrCors previously needed you to add the host URI in the allowed origins array. This was obviously wrong, so now if your app is hosted on "example.com", you don't need to add "example.com" as your allowed origins, as it should be automatically allowed.
- Initial release