{"action":"created","issue":{"url":"https://api.github.com/repos/Holt59/cakephp3-bootstrap-helpers/issues/56","labels_url":"https://api.github.com/repos/Holt59/cakephp3-bootstrap-helpers/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/Holt59/cakephp3-bootstrap-helpers/issues/56/comments","events_url":"https://api.github.com/repos/Holt59/cakephp3-bootstrap-helpers/issues/56/events","html_url":"https://github.com/Holt59/cakephp3-bootstrap-helpers/issues/56","id":107599115,"number":56,"title":"Request is being black holed when using useCustomFileInput => true","user":{"login":"Tomicapo","id":2481454,"avatar_url":"https://avatars.githubusercontent.com/u/2481454?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomicapo","html_url":"https://github.com/Tomicapo","followers_url":"https://api.github.com/users/Tomicapo/followers","following_url":"https://api.github.com/users/Tomicapo/following{/other_user}","gists_url":"https://api.github.com/users/Tomicapo/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomicapo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomicapo/subscriptions","organizations_url":"https://api.github.com/users/Tomicapo/orgs","repos_url":"https://api.github.com/users/Tomicapo/repos","events_url":"https://api.github.com/users/Tomicapo/events{/privacy}","received_events_url":"https://api.github.com/users/Tomicapo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T21:10:29Z","updated_at":"2015-09-21T21:22:20Z","closed_at":null,"body":"Hi, I noticed that when I enabled useCustomFileInput my request started being black holed.\r\n\r\nThe only way I found to get over this issue was to change the plugin as follows:\r\n\r\nFile: BootstrapFormHelper.php\r\nLine: 447\r\n\r\nCode before: \r\n```\r\n    $options += ['secure' => true];\r\n```\r\n\r\nCode after: \r\n```\r\n    $options += ['secure' => false];\r\n```\r\n\r\nI don't have time to investigate further. So, at least, I think it would be great if this setting is taken from the $options set when using the helper.\r\n\r\nExample: \r\n```\r\n    $this->Form->input('image', ['type' => 'file', 'secure' => false]);\r\n```\r\n\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/Holt59/cakephp3-bootstrap-helpers/issues/comments/142111710","html_url":"https://github.com/Holt59/cakephp3-bootstrap-helpers/issues/56#issuecomment-142111710","issue_url":"https://api.github.com/repos/Holt59/cakephp3-bootstrap-helpers/issues/56","id":142111710,"user":{"login":"Holt59","id":2393288,"avatar_url":"https://avatars.githubusercontent.com/u/2393288?v=3","gravatar_id":"","url":"https://api.github.com/users/Holt59","html_url":"https://github.com/Holt59","followers_url":"https://api.github.com/users/Holt59/followers","following_url":"https://api.github.com/users/Holt59/following{/other_user}","gists_url":"https://api.github.com/users/Holt59/gists{/gist_id}","starred_url":"https://api.github.com/users/Holt59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Holt59/subscriptions","organizations_url":"https://api.github.com/users/Holt59/orgs","repos_url":"https://api.github.com/users/Holt59/repos","events_url":"https://api.github.com/users/Holt59/events{/privacy}","received_events_url":"https://api.github.com/users/Holt59/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T21:22:20Z","updated_at":"2015-09-21T21:22:20Z","body":"Hi,\r\n\r\nI don't have any issue on my side... What do you mean by \"my request started being black holed\"? You weren't able to upload any file?\r\n\r\nIf so could you check the content of the hidden `file` input in javascript after having selected a file using the custom file input?\r\n\r\nCan you also tell me what browser you are using and on what kind of server your application is hosted?\r\n\r\nThanks,\r\n\r\nMikael"}}