cakephp-cors
cakephp-cors copied to clipboard
A CakePHP (3.3+) plugin for activate cors domain in your application
Hi, sorry for boring you but i'm stuck in the problem to make work the plugin with Cakephp 4.1.5. I try to expose the configuration. I'm creating an Angular App...
Workaround for OPTIONS method
Workaround for OPTIONS method. Since nothing happens in #32 I copied the patch @rabp99 offered there, regarding the change requests from @LukeC8.
I'm experiencing some problem due to actions being executed in preflight requests. Currently, I workaround this by adding the following in my `AppController`: ```php public function beforeFilter(\Cake\Event\EventInterface $event) { if...
I got an error on install `composer require ozee31/cakephp-cors:^1` ``` ./composer.json has been updated Running composer update ozee31/cakephp-cors Loading composer repositories with package information Updating dependencies Nothing to modify in...
It's my understanding that the `exceptionRenderer => false` configuration setting was meant to prevent the plugin from having any effect on exception rendering, but it actually switches your app from...
CakePHP is currently throwing a warning about deprecated code in this plugin: ``` Deprecated Error: Response::header() is deprecated. Use `withHeader()`, `getHeaderLine()` and `getHeaders()` instead. - ...\vendor\ozee31\cakephp-cors\src\Controller\ErrorController.php, line: 27 ```