{"action":"created","issue":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/4635","repository_url":"https://api.github.com/repos/PrestaShop/PrestaShop","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/4635/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/4635/comments","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/4635/events","html_url":"https://github.com/PrestaShop/PrestaShop/pull/4635","id":124753423,"number":4635,"title":"[*] CORE : Add $_GET & $_POST getter via getAllGetValues & getAllPost…","user":{"login":"prestamodule","id":1162527,"avatar_url":"https://avatars.githubusercontent.com/u/1162527?v=3","gravatar_id":"","url":"https://api.github.com/users/prestamodule","html_url":"https://github.com/prestamodule","followers_url":"https://api.github.com/users/prestamodule/followers","following_url":"https://api.github.com/users/prestamodule/following{/other_user}","gists_url":"https://api.github.com/users/prestamodule/gists{/gist_id}","starred_url":"https://api.github.com/users/prestamodule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestamodule/subscriptions","organizations_url":"https://api.github.com/users/prestamodule/orgs","repos_url":"https://api.github.com/users/prestamodule/repos","events_url":"https://api.github.com/users/prestamodule/events{/privacy}","received_events_url":"https://api.github.com/users/prestamodule/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Type:%20enhancement","name":"Type: enhancement","color":"207de5"},{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/waiting%20for%20author%20feedback","name":"waiting for author feedback","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-04T12:42:02Z","updated_at":"2016-03-02T13:05:20Z","closed_at":"2016-03-02T13:05:20Z","pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/4635","html_url":"https://github.com/PrestaShop/PrestaShop/pull/4635","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/4635.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/4635.patch"},"body":"…Values\r\n\r\nTools::getAllValues() may overwrite $_POST values because of $_GET merge.\r\n+ Direct usage of $_POST / $_GET is not allowed by the module validator."},"comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments/191230898","html_url":"https://github.com/PrestaShop/PrestaShop/pull/4635#issuecomment-191230898","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/4635","id":191230898,"user":{"login":"maximebiloe","id":2203436,"avatar_url":"https://avatars.githubusercontent.com/u/2203436?v=3","gravatar_id":"","url":"https://api.github.com/users/maximebiloe","html_url":"https://github.com/maximebiloe","followers_url":"https://api.github.com/users/maximebiloe/followers","following_url":"https://api.github.com/users/maximebiloe/following{/other_user}","gists_url":"https://api.github.com/users/maximebiloe/gists{/gist_id}","starred_url":"https://api.github.com/users/maximebiloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximebiloe/subscriptions","organizations_url":"https://api.github.com/users/maximebiloe/orgs","repos_url":"https://api.github.com/users/maximebiloe/repos","events_url":"https://api.github.com/users/maximebiloe/events{/privacy}","received_events_url":"https://api.github.com/users/maximebiloe/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T13:05:19Z","updated_at":"2016-03-02T13:05:19Z","body":"Hello,\r\n\r\nWe can't accept those getters, because you'll have the possibilities to access those variables easily with Symfony.\r\nYou just have to add those following lines : \r\n`use Symfony\\Component\\HttpFoundation\\Request;`\r\n`$request = Request::createFromGlobals();``\r\nThen, just use the object `$request` to access to what you want (More info [here](http://symfony.com/doc/2.8/components/http_foundation/introduction.html))\r\n\r\nAlso, be careful for your future pull requests, you have a merge commit in it :wink:\r\n\r\nRegards\r\n"}}