payload: {"action":"created","issue":{"url":"https://api.github.com/repos/leejo/cgi-fast/issues/19","repository_url":"https://api.github.com/repos/leejo/cgi-fast","labels_url":"https://api.github.com/repos/leejo/cgi-fast/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/leejo/cgi-fast/issues/19/comments","events_url":"https://api.github.com/repos/leejo/cgi-fast/issues/19/events","html_url":"https://github.com/leejo/cgi-fast/issues/19","id":425690484,"node_id":"MDU6SXNzdWU0MjU2OTA0ODQ=","number":19,"title":"CGI::Fast prevents upload hooks from being passed to the constructor","user":{"login":"ikegami","id":699749,"node_id":"MDQ6VXNlcjY5OTc0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/699749?v=4","gravatar_id":"","url":"https://api.github.com/users/ikegami","html_url":"https://github.com/ikegami","followers_url":"https://api.github.com/users/ikegami/followers","following_url":"https://api.github.com/users/ikegami/following{/other_user}","gists_url":"https://api.github.com/users/ikegami/gists{/gist_id}","starred_url":"https://api.github.com/users/ikegami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikegami/subscriptions","organizations_url":"https://api.github.com/users/ikegami/orgs","repos_url":"https://api.github.com/users/ikegami/repos","events_url":"https://api.github.com/users/ikegami/events{/privacy}","received_events_url":"https://api.github.com/users/ikegami/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"leejo","id":97388,"node_id":"MDQ6VXNlcjk3Mzg4","avatar_url":"https://avatars1.githubusercontent.com/u/97388?v=4","gravatar_id":"","url":"https://api.github.com/users/leejo","html_url":"https://github.com/leejo","followers_url":"https://api.github.com/users/leejo/followers","following_url":"https://api.github.com/users/leejo/following{/other_user}","gists_url":"https://api.github.com/users/leejo/gists{/gist_id}","starred_url":"https://api.github.com/users/leejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leejo/subscriptions","organizations_url":"https://api.github.com/users/leejo/orgs","repos_url":"https://api.github.com/users/leejo/repos","events_url":"https://api.github.com/users/leejo/events{/privacy}","received_events_url":"https://api.github.com/users/leejo/received_events","type":"User","site_admin":false},"assignees":[{"login":"leejo","id":97388,"node_id":"MDQ6VXNlcjk3Mzg4","avatar_url":"https://avatars1.githubusercontent.com/u/97388?v=4","gravatar_id":"","url":"https://api.github.com/users/leejo","html_url":"https://github.com/leejo","followers_url":"https://api.github.com/users/leejo/followers","following_url":"https://api.github.com/users/leejo/following{/other_user}","gists_url":"https://api.github.com/users/leejo/gists{/gist_id}","starred_url":"https://api.github.com/users/leejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leejo/subscriptions","organizations_url":"https://api.github.com/users/leejo/orgs","repos_url":"https://api.github.com/users/leejo/repos","events_url":"https://api.github.com/users/leejo/events{/privacy}","received_events_url":"https://api.github.com/users/leejo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2019-03-26T23:18:03Z","updated_at":"2019-03-29T09:12:09Z","closed_at":"2019-03-29T09:11:39Z","author_association":"NONE","body":"Hi,\r\n\r\nA CGI upload hook is used, among other reasons, to prevent sensitive user data from being written to disk.\r\n\r\nThe hook must be provided to the CGI constructor, but CGI::Fast mistakenly identifies the hook as an initializer, and this prevents a hook from being used.\r\n\r\nThe following version of `new` address the problem:\r\n\r\n```\r\nsub new {\r\n    my ($self, @args) = @_;\r\n\r\n    if (!$args[0] || ( ref($args[0]) && UNIVERSAL::isa($args[0], 'CODE') && !$args[3] ) ) {\r\n        $Ext_Request ||= _create_fcgi_request($in_fh, $out_fh, $err_fh );\r\n        return undef unless $Ext_Request->Accept >= 0;\r\n    }\r\n\r\n    CGI->_reset_globals;\r\n    $self->_setup_symbols(@CGI::SAVED_SYMBOLS) if @CGI::SAVED_SYMBOLS;\r\n    return $CGI::Q = $self->SUPER::new(@args);\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/leejo/cgi-fast/issues/comments/477924668","html_url":"https://github.com/leejo/cgi-fast/issues/19#issuecomment-477924668","issue_url":"https://api.github.com/repos/leejo/cgi-fast/issues/19","id":477924668,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NzkyNDY2OA==","user":{"login":"leejo","id":97388,"node_id":"MDQ6VXNlcjk3Mzg4","avatar_url":"https://avatars1.githubusercontent.com/u/97388?v=4","gravatar_id":"","url":"https://api.github.com/users/leejo","html_url":"https://github.com/leejo","followers_url":"https://api.github.com/users/leejo/followers","following_url":"https://api.github.com/users/leejo/following{/other_user}","gists_url":"https://api.github.com/users/leejo/gists{/gist_id}","starred_url":"https://api.github.com/users/leejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leejo/subscriptions","organizations_url":"https://api.github.com/users/leejo/orgs","repos_url":"https://api.github.com/users/leejo/repos","events_url":"https://api.github.com/users/leejo/events{/privacy}","received_events_url":"https://api.github.com/users/leejo/received_events","type":"User","site_admin":false},"created_at":"2019-03-29T09:12:09Z","updated_at":"2019-03-29T09:12:09Z","author_association":"OWNER","body":"@ikegami - patch is applied, I shall upload this to CPAN in a couple of days. Thanks!"}}
other: {"actor":{"display_login":"leejo"}}