{"action":"created","comment":{"url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/comments/36612694","id":36612694,"diff_hunk":"@@ -56,16 +56,7 @@ public function onKernelRequest(GetResponseEvent $event)\n \n         // grab unencoded version of rql extract q arg\n         // has to grab the query direclty from _SERVER so it does not get unecoded by php beforehand\n-        $filter = null;\n-        if ($request->server->get('QUERY_STRING') !== null) {\n-            $filter = array_filter(\n-                explode('&', $request->server->get('QUERY_STRING')),\n-                function ($param) {\n-                    return (substr($param, 0, 2) == $this->queryKey . '=');\n-                }\n-            );\n-            $filter = substr(reset($filter), 2);\n-        }\n+        $filter = $request->server->get('QUERY_STRING');","path":"src/Listener/RequestListener.php","position":14,"original_position":14,"commit_id":"85d6769be325048e85fb20de4359b9fbb1d23d93","original_commit_id":"85d6769be325048e85fb20de4359b9fbb1d23d93","user":{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"body":"But that would make the following perfectly valid RQL break: ``?q=foo``...","created_at":"2015-08-10T09:02:35Z","updated_at":"2015-08-10T09:02:35Z","html_url":"https://github.com/libgraviton/GravitonRqlParserBundle/pull/25#discussion_r36612694","pull_request_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/comments/36612694"},"html":{"href":"https://github.com/libgraviton/GravitonRqlParserBundle/pull/25#discussion_r36612694"},"pull_request":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25","id":41775395,"html_url":"https://github.com/libgraviton/GravitonRqlParserBundle/pull/25","diff_url":"https://github.com/libgraviton/GravitonRqlParserBundle/pull/25.diff","patch_url":"https://github.com/libgraviton/GravitonRqlParserBundle/pull/25.patch","issue_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/25","number":25,"state":"open","locked":false,"title":"Use full QUERY_STRING as RQL","user":{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"body":"Everything else gives us neverending nightmares with getting rql form a query string.\r\n\r\nWe will also need to rip out ``perPage`` and ``page`` in graviton when we merge this.\r\n\r\nThis addresses #24","created_at":"2015-08-06T10:58:11Z","updated_at":"2015-08-10T09:02:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"849eace6c26cb9e4e34689d055b9fa034f0951df","assignee":{"login":"narcoticfresh","id":245441,"avatar_url":"https://avatars.githubusercontent.com/u/245441?v=3","gravatar_id":"","url":"https://api.github.com/users/narcoticfresh","html_url":"https://github.com/narcoticfresh","followers_url":"https://api.github.com/users/narcoticfresh/followers","following_url":"https://api.github.com/users/narcoticfresh/following{/other_user}","gists_url":"https://api.github.com/users/narcoticfresh/gists{/gist_id}","starred_url":"https://api.github.com/users/narcoticfresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narcoticfresh/subscriptions","organizations_url":"https://api.github.com/users/narcoticfresh/orgs","repos_url":"https://api.github.com/users/narcoticfresh/repos","events_url":"https://api.github.com/users/narcoticfresh/events{/privacy}","received_events_url":"https://api.github.com/users/narcoticfresh/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25/commits","review_comments_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25/comments","review_comment_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/25/comments","statuses_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/statuses/85d6769be325048e85fb20de4359b9fbb1d23d93","head":{"label":"libgraviton:feature/direct-rql-query-strings","ref":"feature/direct-rql-query-strings","sha":"85d6769be325048e85fb20de4359b9fbb1d23d93","user":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"repo":{"id":32005245,"name":"GravitonRqlParserBundle","full_name":"libgraviton/GravitonRqlParserBundle","owner":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgraviton/GravitonRqlParserBundle","description":"Symfony2 bundle to the Graviton/php-rql-parser","fork":false,"url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle","forks_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/forks","keys_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/teams","hooks_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/hooks","issue_events_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/events{/number}","events_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/events","assignees_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/assignees{/user}","branches_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/branches{/branch}","tags_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/tags","blobs_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/languages","stargazers_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/stargazers","contributors_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/contributors","subscribers_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/subscribers","subscription_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/subscription","commits_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/contents/{+path}","compare_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/merges","archive_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/downloads","issues_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues{/number}","pulls_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/labels{/name}","releases_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/releases{/id}","created_at":"2015-03-11T07:57:12Z","updated_at":"2015-04-23T18:17:34Z","pushed_at":"2015-08-06T10:58:11Z","git_url":"git://github.com/libgraviton/GravitonRqlParserBundle.git","ssh_url":"git@github.com:libgraviton/GravitonRqlParserBundle.git","clone_url":"https://github.com/libgraviton/GravitonRqlParserBundle.git","svn_url":"https://github.com/libgraviton/GravitonRqlParserBundle","homepage":null,"size":468,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"libgraviton:develop","ref":"develop","sha":"cd3cfa91a23285e485e81e13028d2d6baf6505fd","user":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"repo":{"id":32005245,"name":"GravitonRqlParserBundle","full_name":"libgraviton/GravitonRqlParserBundle","owner":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgraviton/GravitonRqlParserBundle","description":"Symfony2 bundle to the Graviton/php-rql-parser","fork":false,"url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle","forks_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/forks","keys_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/teams","hooks_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/hooks","issue_events_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/events{/number}","events_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/events","assignees_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/assignees{/user}","branches_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/branches{/branch}","tags_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/tags","blobs_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/languages","stargazers_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/stargazers","contributors_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/contributors","subscribers_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/subscribers","subscription_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/subscription","commits_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/contents/{+path}","compare_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/merges","archive_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/downloads","issues_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues{/number}","pulls_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/labels{/name}","releases_url":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/releases{/id}","created_at":"2015-03-11T07:57:12Z","updated_at":"2015-04-23T18:17:34Z","pushed_at":"2015-08-06T10:58:11Z","git_url":"git://github.com/libgraviton/GravitonRqlParserBundle.git","ssh_url":"git@github.com:libgraviton/GravitonRqlParserBundle.git","clone_url":"https://github.com/libgraviton/GravitonRqlParserBundle.git","svn_url":"https://github.com/libgraviton/GravitonRqlParserBundle","homepage":null,"size":468,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25"},"html":{"href":"https://github.com/libgraviton/GravitonRqlParserBundle/pull/25"},"issue":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/25"},"comments":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/libgraviton/GravitonRqlParserBundle/statuses/85d6769be325048e85fb20de4359b9fbb1d23d93"}}}}