{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/10023","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/10023/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/10023/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/10023/events","html_url":"https://github.com/joomla/joomla-cms/issues/10023","id":150037666,"number":10023,"title":"$jinput->get->getArray() returns empty array when SEF is ON","user":{"login":"germi","id":6000281,"avatar_url":"https://avatars.githubusercontent.com/u/6000281?v=3","gravatar_id":"","url":"https://api.github.com/users/germi","html_url":"https://github.com/germi","followers_url":"https://api.github.com/users/germi/followers","following_url":"https://api.github.com/users/germi/following{/other_user}","gists_url":"https://api.github.com/users/germi/gists{/gist_id}","starred_url":"https://api.github.com/users/germi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germi/subscriptions","organizations_url":"https://api.github.com/users/germi/orgs","repos_url":"https://api.github.com/users/germi/repos","events_url":"https://api.github.com/users/germi/events{/privacy}","received_events_url":"https://api.github.com/users/germi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-21T10:55:34Z","updated_at":"2016-04-21T16:04:55Z","closed_at":null,"body":"#### Steps to reproduce the issue\r\nI'm working on a system plugin, and doing some stuff on onAfterRoute() function. I need to get all the GET variables there are on the request. As usual I do:\r\n$mainframe = JFactory::getApplication();\r\n$jinput = $mainframe->input;\r\n$thevars = $jinput->get->getArray();\r\n\r\n#### Expected result\r\nI expect an array with all the variables available on GET on this request\r\n\r\n\r\n#### Actual result\r\nI get an empty array instead. I have SEF turned ON (native joomla SEF, no external extensions)\r\n\r\n\r\n#### System information (as much as possible)\r\nJoomla 3.5.1 (already noticed did in previous veresion, such as 3.4)\r\nPHP 7 (same problem with 5.3)\r\n\r\n\r\n#### Additional comments\r\nif I turn SEF off, then I get the variables. But it should work with SEF on too...\r\nHowever, if I use  $jinput->getArray(); instead (no filter by \"get\", but actually get EVERYTHING, including GET, POST, COOKIE...), then I get everything, no problem (including get, yes)\r\nso, basically looks like when SEF is turned ON, the getArray() function work ok directly on $jinput, but returns empty when applied to ->get\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/212988223","html_url":"https://github.com/joomla/joomla-cms/issues/10023#issuecomment-212988223","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/10023","id":212988223,"user":{"login":"germi","id":6000281,"avatar_url":"https://avatars.githubusercontent.com/u/6000281?v=3","gravatar_id":"","url":"https://api.github.com/users/germi","html_url":"https://github.com/germi","followers_url":"https://api.github.com/users/germi/followers","following_url":"https://api.github.com/users/germi/following{/other_user}","gists_url":"https://api.github.com/users/germi/gists{/gist_id}","starred_url":"https://api.github.com/users/germi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germi/subscriptions","organizations_url":"https://api.github.com/users/germi/orgs","repos_url":"https://api.github.com/users/germi/repos","events_url":"https://api.github.com/users/germi/events{/privacy}","received_events_url":"https://api.github.com/users/germi/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T16:04:55Z","updated_at":"2016-04-21T16:04:55Z","body":"Thanks @mbabker . Yes that's how I was doing it.. I was getting all available in REQUEST and then removing all what I don't need (basically COOKIE stuff).\r\nYes @brianteeman looks like this is not a bug so it can be closed."}}