{"action":"created","issue":{"url":"https://api.github.com/repos/cperves/moodle-block-my_external_privatefiles/issues/11","labels_url":"https://api.github.com/repos/cperves/moodle-block-my_external_privatefiles/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cperves/moodle-block-my_external_privatefiles/issues/11/comments","events_url":"https://api.github.com/repos/cperves/moodle-block-my_external_privatefiles/issues/11/events","html_url":"https://github.com/cperves/moodle-block-my_external_privatefiles/issues/11","id":116120250,"number":11,"title":"Custom curl implementation with suspicios options","user":{"login":"mudrd8mz","id":85831,"avatar_url":"https://avatars.githubusercontent.com/u/85831?v=3","gravatar_id":"","url":"https://api.github.com/users/mudrd8mz","html_url":"https://github.com/mudrd8mz","followers_url":"https://api.github.com/users/mudrd8mz/followers","following_url":"https://api.github.com/users/mudrd8mz/following{/other_user}","gists_url":"https://api.github.com/users/mudrd8mz/gists{/gist_id}","starred_url":"https://api.github.com/users/mudrd8mz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudrd8mz/subscriptions","organizations_url":"https://api.github.com/users/mudrd8mz/orgs","repos_url":"https://api.github.com/users/mudrd8mz/repos","events_url":"https://api.github.com/users/mudrd8mz/events{/privacy}","received_events_url":"https://api.github.com/users/mudrd8mz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T14:44:18Z","updated_at":"2015-11-10T14:58:03Z","closed_at":null,"body":"Why do you have CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER set to 0? It only open doors to potential security related issues. Would be better to generally use a wrapper for this anyway, such as `download_file_content()` from lib/filelib.php"},"comment":{"url":"https://api.github.com/repos/cperves/moodle-block-my_external_privatefiles/issues/comments/155442111","html_url":"https://github.com/cperves/moodle-block-my_external_privatefiles/issues/11#issuecomment-155442111","issue_url":"https://api.github.com/repos/cperves/moodle-block-my_external_privatefiles/issues/11","id":155442111,"user":{"login":"cperves","id":1996913,"avatar_url":"https://avatars.githubusercontent.com/u/1996913?v=3","gravatar_id":"","url":"https://api.github.com/users/cperves","html_url":"https://github.com/cperves","followers_url":"https://api.github.com/users/cperves/followers","following_url":"https://api.github.com/users/cperves/following{/other_user}","gists_url":"https://api.github.com/users/cperves/gists{/gist_id}","starred_url":"https://api.github.com/users/cperves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cperves/subscriptions","organizations_url":"https://api.github.com/users/cperves/orgs","repos_url":"https://api.github.com/users/cperves/repos","events_url":"https://api.github.com/users/cperves/events{/privacy}","received_events_url":"https://api.github.com/users/cperves/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T14:58:03Z","updated_at":"2015-11-10T14:58:03Z","body":"Oups I forgot to remove that options that are usefull to tests with self signed certificate\r\nI change that now"}}