{"action":"created","comment":{"url":"https://api.github.com/repos/backbee/BackBee/pulls/comments/29037857","id":29037857,"diff_hunk":"@@ -213,11 +213,14 @@ public function postAction(Layout $layout, Request $request, Page $parent = null\n             $builder->setSite($this->getApplication()->getSite());\n         }\n \n+        $requestRedirect = $request->request->get('redirect');","path":"Rest/Controller/PageController.php","position":4,"original_position":4,"commit_id":"29522ab0e6bdb9cb101d2de9f190441a817707c2","original_commit_id":"29522ab0e6bdb9cb101d2de9f190441a817707c2","user":{"login":"fkroockmann","id":9247945,"avatar_url":"https://avatars.githubusercontent.com/u/9247945?v=3","gravatar_id":"","url":"https://api.github.com/users/fkroockmann","html_url":"https://github.com/fkroockmann","followers_url":"https://api.github.com/users/fkroockmann/followers","following_url":"https://api.github.com/users/fkroockmann/following{/other_user}","gists_url":"https://api.github.com/users/fkroockmann/gists{/gist_id}","starred_url":"https://api.github.com/users/fkroockmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkroockmann/subscriptions","organizations_url":"https://api.github.com/users/fkroockmann/orgs","repos_url":"https://api.github.com/users/fkroockmann/repos","events_url":"https://api.github.com/users/fkroockmann/events{/privacy}","received_events_url":"https://api.github.com/users/fkroockmann/received_events","type":"User","site_admin":false},"body":"This test will tell if the parameter does not exist, you set a value to null. Except that the current problem is that the \"redirect\" is knowledgeable but it is an empty string and an empty string is not a url ...","created_at":"2015-04-24T10:08:00Z","updated_at":"2015-04-24T10:08:00Z","html_url":"https://github.com/backbee/BackBee/pull/318#discussion_r29037857","pull_request_url":"https://api.github.com/repos/backbee/BackBee/pulls/318","_links":{"self":{"href":"https://api.github.com/repos/backbee/BackBee/pulls/comments/29037857"},"html":{"href":"https://github.com/backbee/BackBee/pull/318#discussion_r29037857"},"pull_request":{"href":"https://api.github.com/repos/backbee/BackBee/pulls/318"}}},"pull_request":{"url":"https://api.github.com/repos/backbee/BackBee/pulls/318","id":33766909,"html_url":"https://github.com/backbee/BackBee/pull/318","diff_url":"https://github.com/backbee/BackBee/pull/318.diff","patch_url":"https://github.com/backbee/BackBee/pull/318.patch","issue_url":"https://api.github.com/repos/backbee/BackBee/issues/318","number":318,"state":"open","locked":false,"title":"[Rest] Set null the redirect if empty on PageController","user":{"login":"fkroockmann","id":9247945,"avatar_url":"https://avatars.githubusercontent.com/u/9247945?v=3","gravatar_id":"","url":"https://api.github.com/users/fkroockmann","html_url":"https://github.com/fkroockmann","followers_url":"https://api.github.com/users/fkroockmann/followers","following_url":"https://api.github.com/users/fkroockmann/following{/other_user}","gists_url":"https://api.github.com/users/fkroockmann/gists{/gist_id}","starred_url":"https://api.github.com/users/fkroockmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkroockmann/subscriptions","organizations_url":"https://api.github.com/users/fkroockmann/orgs","repos_url":"https://api.github.com/users/fkroockmann/repos","events_url":"https://api.github.com/users/fkroockmann/events{/privacy}","received_events_url":"https://api.github.com/users/fkroockmann/received_events","type":"User","site_admin":false},"body":"Currently redirect is always set as empty","created_at":"2015-04-21T14:30:50Z","updated_at":"2015-04-24T10:08:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d1b1a708a6f022d60e61697dfc85b29f67ce685","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/backbee/BackBee/pulls/318/commits","review_comments_url":"https://api.github.com/repos/backbee/BackBee/pulls/318/comments","review_comment_url":"https://api.github.com/repos/backbee/BackBee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/backbee/BackBee/issues/318/comments","statuses_url":"https://api.github.com/repos/backbee/BackBee/statuses/29522ab0e6bdb9cb101d2de9f190441a817707c2","head":{"label":"fkroockmann:fix_redirect_page","ref":"fix_redirect_page","sha":"29522ab0e6bdb9cb101d2de9f190441a817707c2","user":{"login":"fkroockmann","id":9247945,"avatar_url":"https://avatars.githubusercontent.com/u/9247945?v=3","gravatar_id":"","url":"https://api.github.com/users/fkroockmann","html_url":"https://github.com/fkroockmann","followers_url":"https://api.github.com/users/fkroockmann/followers","following_url":"https://api.github.com/users/fkroockmann/following{/other_user}","gists_url":"https://api.github.com/users/fkroockmann/gists{/gist_id}","starred_url":"https://api.github.com/users/fkroockmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkroockmann/subscriptions","organizations_url":"https://api.github.com/users/fkroockmann/orgs","repos_url":"https://api.github.com/users/fkroockmann/repos","events_url":"https://api.github.com/users/fkroockmann/events{/privacy}","received_events_url":"https://api.github.com/users/fkroockmann/received_events","type":"User","site_admin":false},"repo":{"id":32386397,"name":"BackBee","full_name":"fkroockmann/BackBee","owner":{"login":"fkroockmann","id":9247945,"avatar_url":"https://avatars.githubusercontent.com/u/9247945?v=3","gravatar_id":"","url":"https://api.github.com/users/fkroockmann","html_url":"https://github.com/fkroockmann","followers_url":"https://api.github.com/users/fkroockmann/followers","following_url":"https://api.github.com/users/fkroockmann/following{/other_user}","gists_url":"https://api.github.com/users/fkroockmann/gists{/gist_id}","starred_url":"https://api.github.com/users/fkroockmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkroockmann/subscriptions","organizations_url":"https://api.github.com/users/fkroockmann/orgs","repos_url":"https://api.github.com/users/fkroockmann/repos","events_url":"https://api.github.com/users/fkroockmann/events{/privacy}","received_events_url":"https://api.github.com/users/fkroockmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fkroockmann/BackBee","description":"BackBee, the Next Generation Open-Source CMS","fork":true,"url":"https://api.github.com/repos/fkroockmann/BackBee","forks_url":"https://api.github.com/repos/fkroockmann/BackBee/forks","keys_url":"https://api.github.com/repos/fkroockmann/BackBee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fkroockmann/BackBee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fkroockmann/BackBee/teams","hooks_url":"https://api.github.com/repos/fkroockmann/BackBee/hooks","issue_events_url":"https://api.github.com/repos/fkroockmann/BackBee/issues/events{/number}","events_url":"https://api.github.com/repos/fkroockmann/BackBee/events","assignees_url":"https://api.github.com/repos/fkroockmann/BackBee/assignees{/user}","branches_url":"https://api.github.com/repos/fkroockmann/BackBee/branches{/branch}","tags_url":"https://api.github.com/repos/fkroockmann/BackBee/tags","blobs_url":"https://api.github.com/repos/fkroockmann/BackBee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fkroockmann/BackBee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fkroockmann/BackBee/git/refs{/sha}","trees_url":"https://api.github.com/repos/fkroockmann/BackBee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fkroockmann/BackBee/statuses/{sha}","languages_url":"https://api.github.com/repos/fkroockmann/BackBee/languages","stargazers_url":"https://api.github.com/repos/fkroockmann/BackBee/stargazers","contributors_url":"https://api.github.com/repos/fkroockmann/BackBee/contributors","subscribers_url":"https://api.github.com/repos/fkroockmann/BackBee/subscribers","subscription_url":"https://api.github.com/repos/fkroockmann/BackBee/subscription","commits_url":"https://api.github.com/repos/fkroockmann/BackBee/commits{/sha}","git_commits_url":"https://api.github.com/repos/fkroockmann/BackBee/git/commits{/sha}","comments_url":"https://api.github.com/repos/fkroockmann/BackBee/comments{/number}","issue_comment_url":"https://api.github.com/repos/fkroockmann/BackBee/issues/comments{/number}","contents_url":"https://api.github.com/repos/fkroockmann/BackBee/contents/{+path}","compare_url":"https://api.github.com/repos/fkroockmann/BackBee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fkroockmann/BackBee/merges","archive_url":"https://api.github.com/repos/fkroockmann/BackBee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fkroockmann/BackBee/downloads","issues_url":"https://api.github.com/repos/fkroockmann/BackBee/issues{/number}","pulls_url":"https://api.github.com/repos/fkroockmann/BackBee/pulls{/number}","milestones_url":"https://api.github.com/repos/fkroockmann/BackBee/milestones{/number}","notifications_url":"https://api.github.com/repos/fkroockmann/BackBee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fkroockmann/BackBee/labels{/name}","releases_url":"https://api.github.com/repos/fkroockmann/BackBee/releases{/id}","created_at":"2015-03-17T10:18:57Z","updated_at":"2015-04-09T14:05:22Z","pushed_at":"2015-04-21T15:20:31Z","git_url":"git://github.com/fkroockmann/BackBee.git","ssh_url":"git@github.com:fkroockmann/BackBee.git","clone_url":"https://github.com/fkroockmann/BackBee.git","svn_url":"https://github.com/fkroockmann/BackBee","homepage":null,"size":25476,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"backbee:master","ref":"master","sha":"642bf11661c24002842fd6dda282fef85059f41b","user":{"login":"backbee","id":8198689,"avatar_url":"https://avatars.githubusercontent.com/u/8198689?v=3","gravatar_id":"","url":"https://api.github.com/users/backbee","html_url":"https://github.com/backbee","followers_url":"https://api.github.com/users/backbee/followers","following_url":"https://api.github.com/users/backbee/following{/other_user}","gists_url":"https://api.github.com/users/backbee/gists{/gist_id}","starred_url":"https://api.github.com/users/backbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backbee/subscriptions","organizations_url":"https://api.github.com/users/backbee/orgs","repos_url":"https://api.github.com/users/backbee/repos","events_url":"https://api.github.com/users/backbee/events{/privacy}","received_events_url":"https://api.github.com/users/backbee/received_events","type":"Organization","site_admin":false},"repo":{"id":21970893,"name":"BackBee","full_name":"backbee/BackBee","owner":{"login":"backbee","id":8198689,"avatar_url":"https://avatars.githubusercontent.com/u/8198689?v=3","gravatar_id":"","url":"https://api.github.com/users/backbee","html_url":"https://github.com/backbee","followers_url":"https://api.github.com/users/backbee/followers","following_url":"https://api.github.com/users/backbee/following{/other_user}","gists_url":"https://api.github.com/users/backbee/gists{/gist_id}","starred_url":"https://api.github.com/users/backbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backbee/subscriptions","organizations_url":"https://api.github.com/users/backbee/orgs","repos_url":"https://api.github.com/users/backbee/repos","events_url":"https://api.github.com/users/backbee/events{/privacy}","received_events_url":"https://api.github.com/users/backbee/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/backbee/BackBee","description":"BackBee, the Next Generation Core library","fork":false,"url":"https://api.github.com/repos/backbee/BackBee","forks_url":"https://api.github.com/repos/backbee/BackBee/forks","keys_url":"https://api.github.com/repos/backbee/BackBee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/backbee/BackBee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/backbee/BackBee/teams","hooks_url":"https://api.github.com/repos/backbee/BackBee/hooks","issue_events_url":"https://api.github.com/repos/backbee/BackBee/issues/events{/number}","events_url":"https://api.github.com/repos/backbee/BackBee/events","assignees_url":"https://api.github.com/repos/backbee/BackBee/assignees{/user}","branches_url":"https://api.github.com/repos/backbee/BackBee/branches{/branch}","tags_url":"https://api.github.com/repos/backbee/BackBee/tags","blobs_url":"https://api.github.com/repos/backbee/BackBee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/backbee/BackBee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/backbee/BackBee/git/refs{/sha}","trees_url":"https://api.github.com/repos/backbee/BackBee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/backbee/BackBee/statuses/{sha}","languages_url":"https://api.github.com/repos/backbee/BackBee/languages","stargazers_url":"https://api.github.com/repos/backbee/BackBee/stargazers","contributors_url":"https://api.github.com/repos/backbee/BackBee/contributors","subscribers_url":"https://api.github.com/repos/backbee/BackBee/subscribers","subscription_url":"https://api.github.com/repos/backbee/BackBee/subscription","commits_url":"https://api.github.com/repos/backbee/BackBee/commits{/sha}","git_commits_url":"https://api.github.com/repos/backbee/BackBee/git/commits{/sha}","comments_url":"https://api.github.com/repos/backbee/BackBee/comments{/number}","issue_comment_url":"https://api.github.com/repos/backbee/BackBee/issues/comments{/number}","contents_url":"https://api.github.com/repos/backbee/BackBee/contents/{+path}","compare_url":"https://api.github.com/repos/backbee/BackBee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/backbee/BackBee/merges","archive_url":"https://api.github.com/repos/backbee/BackBee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/backbee/BackBee/downloads","issues_url":"https://api.github.com/repos/backbee/BackBee/issues{/number}","pulls_url":"https://api.github.com/repos/backbee/BackBee/pulls{/number}","milestones_url":"https://api.github.com/repos/backbee/BackBee/milestones{/number}","notifications_url":"https://api.github.com/repos/backbee/BackBee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/backbee/BackBee/labels{/name}","releases_url":"https://api.github.com/repos/backbee/BackBee/releases{/id}","created_at":"2014-07-18T06:51:12Z","updated_at":"2015-04-24T08:24:02Z","pushed_at":"2015-04-24T08:24:01Z","git_url":"git://github.com/backbee/BackBee.git","ssh_url":"git@github.com:backbee/BackBee.git","clone_url":"https://github.com/backbee/BackBee.git","svn_url":"https://github.com/backbee/BackBee","homepage":"","size":28745,"stargazers_count":23,"watchers_count":23,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":90,"forks":9,"open_issues":90,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/backbee/BackBee/pulls/318"},"html":{"href":"https://github.com/backbee/BackBee/pull/318"},"issue":{"href":"https://api.github.com/repos/backbee/BackBee/issues/318"},"comments":{"href":"https://api.github.com/repos/backbee/BackBee/issues/318/comments"},"review_comments":{"href":"https://api.github.com/repos/backbee/BackBee/pulls/318/comments"},"review_comment":{"href":"https://api.github.com/repos/backbee/BackBee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/backbee/BackBee/pulls/318/commits"},"statuses":{"href":"https://api.github.com/repos/backbee/BackBee/statuses/29522ab0e6bdb9cb101d2de9f190441a817707c2"}}}}