{"comment":{"created_at":"2011-10-24T19:05:46Z","body":"OnHandleRequest and OnInitCulture events has a pattern which does not fire.\r\nFor example, as for the following processings, any events does not fire. \r\n\r\n  Context -> Context Setting -> Create New -> [Save]\r\n  Reports -> Error Log -> [Reload]\r\n\r\n","updated_at":"2011-10-24T19:05:46Z","url":"https://api.github.com/repos/modxcms/revolution/issues/comments/2507814","id":2507814,"user":{"avatar_url":"https://secure.gravatar.com/avatar/228c24bfd884a9e80268740dd8676eb3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"228c24bfd884a9e80268740dd8676eb3","url":"https://api.github.com/users/soushi","id":374107,"login":"soushi"}},"action":"created","issue":{"number":180,"created_at":"2011-10-22T16:06:17Z","pull_request":{"diff_url":"https://github.com/modxcms/revolution/pull/180.diff","patch_url":"https://github.com/modxcms/revolution/pull/180.patch","html_url":"https://github.com/modxcms/revolution/pull/180"},"body":"This event fired in $modx->initialize().\r\nAll request hit this event.\r\n\r\nFor example, the MODX Manager with Multi language runs on Opera browser in following codes. \r\n\r\ncheck event:OnMODXInit\r\n\r\n```php\r\nif( $modx->event->name == 'OnMODXInit'\r\n  && stripos($_SERVER['HTTP_USER_AGENT'],'Opera') !== false\r\n  && stripos($_SERVER['CONTENT_TYPE'],'x-www-form-urlencoded') !== false\r\n  && strcasecmp($_SERVER['HTTP_CONTENT_TRANSFER_ENCODING'],'binary') == 0 ){\r\n    foreach($_POST as $key => $val){\r\n      $_POST[$key] = urldecode($val);\r\n      $_REQUEST[$key] = $_POST[$key];\r\n    }\r\n}\r\n```","comments":2,"title":"New plugin event 'OnMODXInit'","updated_at":"2011-10-24T19:05:46Z","url":"https://api.github.com/repos/modxcms/revolution/issues/180","id":2023029,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/228c24bfd884a9e80268740dd8676eb3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"228c24bfd884a9e80268740dd8676eb3","url":"https://api.github.com/users/soushi","id":374107,"login":"soushi"},"html_url":"https://github.com/modxcms/revolution/issues/180","labels":[],"state":"open"},"legacy":{"issue_id":2023029,"comment_id":2507814}}