{"action":"closed","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/35","labels_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/35/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/35/events","html_url":"https://github.com/barryvdh/laravel-cors/issues/35","id":63976431,"number":35,"title":"Intermittent results behavior","user":{"login":"paulocoghi","id":378397,"avatar_url":"https://avatars.githubusercontent.com/u/378397?v=3","gravatar_id":"","url":"https://api.github.com/users/paulocoghi","html_url":"https://github.com/paulocoghi","followers_url":"https://api.github.com/users/paulocoghi/followers","following_url":"https://api.github.com/users/paulocoghi/following{/other_user}","gists_url":"https://api.github.com/users/paulocoghi/gists{/gist_id}","starred_url":"https://api.github.com/users/paulocoghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulocoghi/subscriptions","organizations_url":"https://api.github.com/users/paulocoghi/orgs","repos_url":"https://api.github.com/users/paulocoghi/repos","events_url":"https://api.github.com/users/paulocoghi/events{/privacy}","received_events_url":"https://api.github.com/users/paulocoghi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-24T11:48:40Z","updated_at":"2015-03-24T16:14:45Z","closed_at":"2015-03-24T16:14:45Z","body":"I installed 0.4 branch with Laravel 5 and defined these rules (just to be sure that every request must be allowed):\r\n\r\n```php\r\nreturn array(\r\n\r\n    'defaults' => array(\r\n        'supportsCredentials' => true,\r\n        'allowedOrigins' => array('*'),\r\n        'allowedHeaders' => array('*'),\r\n        'allowedMethods' => array('POST', 'PUT', 'GET', 'DELETE'),\r\n        'maxAge' => 3600,\r\n    ),\r\n\r\n    'paths' => array(\r\n        'api/*' => array(\r\n            'supportsCredentials' => true,\r\n            'allowedOrigins' => array('*'),\r\n            'allowedHeaders' => array('*'),\r\n            'allowedMethods' => array('POST', 'PUT', 'GET', 'DELETE'),\r\n            'maxAge' => 3600,\r\n        ),\r\n        '*' => array(\r\n            'supportsCredentials' => true,\r\n            'allowedOrigins' => array('*'),\r\n            'allowedHeaders' => array('*'),\r\n            'allowedMethods' => array('POST', 'PUT', 'GET', 'DELETE'),\r\n            'maxAge' => 3600,\r\n        ),\r\n    ),\r\n\r\n);\r\n```\r\n\r\nBut when I make ajax requests, ramdomly some requests succeed and ramdomly some not, returning `Cross-Origin Request Blocked`.\r\n\r\nSoftwares and versions:\r\nLaravel 5.0.16\r\nLaravel Cors with last commit from 25 days ago\r\nComposer version 1.0-dev (ab3622dff1db71024f327387408250208c139a0d) 2015-03-23 11:56:30\r\nPHP 5.5.9\r\nApache 2.4.7"}}