{"action":"created","comment":{"url":"https://api.github.com/repos/centreon/centreon/pulls/comments/199815089","pull_request_review_id":134007067,"id":199815089,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTgxNTA4OQ==","diff_hunk":"@@ -121,13 +123,21 @@ function microtime_float()\n             $a++;\n         }\n         $args .= \"'\";\n-        header(\"Location: index.php?disconnect=1\".$args);\n+        \n+\t\t$newUrl = \"index.php?disconnect=1\".$args;\n+\t\tif (filter_var($newUrl, FILTER_VALIDATE_URL)) {\n+\t\t\theader(\"Location: \".$newUrl);\n+\t\t}\n     } else {\n         $args = null;\n         foreach ($_GET as $key => $value) {\n             $args ? $args .= \"&\".$key.\"=\".$value : $args = $key.\"=\".$value;\n         }\n-        header(\"Location: index.php?\".$args.\"\");\n+        \n+\t\t$newUrl = \"index.php?disconnect=1\".$args;\n+\t\tif (filter_var($newUrl, FILTER_VALIDATE_URL)) {\n+\t\t\theader(\"Location: \".$newUrl);","path":"www/include/core/header/header.php","position":32,"original_position":32,"commit_id":"522f1fe4493c25a6e10f965d0c3471e45dd3721c","original_commit_id":"c12e247cf6a69736c4eb70bb0e6894cafe9ff71a","user":{"login":"sc979","id":34628915,"node_id":"MDQ6VXNlcjM0NjI4OTE1","avatar_url":"https://avatars0.githubusercontent.com/u/34628915?v=4","gravatar_id":"","url":"https://api.github.com/users/sc979","html_url":"https://github.com/sc979","followers_url":"https://api.github.com/users/sc979/followers","following_url":"https://api.github.com/users/sc979/following{/other_user}","gists_url":"https://api.github.com/users/sc979/gists{/gist_id}","starred_url":"https://api.github.com/users/sc979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc979/subscriptions","organizations_url":"https://api.github.com/users/sc979/orgs","repos_url":"https://api.github.com/users/sc979/repos","events_url":"https://api.github.com/users/sc979/events{/privacy}","received_events_url":"https://api.github.com/users/sc979/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-07-03T13:53:18Z","updated_at":"2018-07-03T13:53:18Z","html_url":"https://github.com/centreon/centreon/pull/6413#discussion_r199815089","pull_request_url":"https://api.github.com/repos/centreon/centreon/pulls/6413","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/centreon/centreon/pulls/comments/199815089"},"html":{"href":"https://github.com/centreon/centreon/pull/6413#discussion_r199815089"},"pull_request":{"href":"https://api.github.com/repos/centreon/centreon/pulls/6413"}},"in_reply_to_id":199143028},"pull_request":{"url":"https://api.github.com/repos/centreon/centreon/pulls/6413","id":198257009,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MjU3MDA5","html_url":"https://github.com/centreon/centreon/pull/6413","diff_url":"https://github.com/centreon/centreon/pull/6413.diff","patch_url":"https://github.com/centreon/centreon/pull/6413.patch","issue_url":"https://api.github.com/repos/centreon/centreon/issues/6413","number":6413,"state":"open","locked":false,"title":"2.8.x secfixes2","user":{"login":"uncleflo","id":4184545,"node_id":"MDQ6VXNlcjQxODQ1NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/4184545?v=4","gravatar_id":"","url":"https://api.github.com/users/uncleflo","html_url":"https://github.com/uncleflo","followers_url":"https://api.github.com/users/uncleflo/followers","following_url":"https://api.github.com/users/uncleflo/following{/other_user}","gists_url":"https://api.github.com/users/uncleflo/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleflo/subscriptions","organizations_url":"https://api.github.com/users/uncleflo/orgs","repos_url":"https://api.github.com/users/uncleflo/repos","events_url":"https://api.github.com/users/uncleflo/events{/privacy}","received_events_url":"https://api.github.com/users/uncleflo/received_events","type":"User","site_admin":false},"body":"See https://github.com/centreon/centreon/pull/6406","created_at":"2018-06-29T09:04:35Z","updated_at":"2018-07-03T13:53:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da9a56c51ca309764dc4604eede1b1401b44c091","assignee":null,"assignees":[],"requested_reviewers":[{"login":"leoncx","id":3930276,"node_id":"MDQ6VXNlcjM5MzAyNzY=","avatar_url":"https://avatars0.githubusercontent.com/u/3930276?v=4","gravatar_id":"","url":"https://api.github.com/users/leoncx","html_url":"https://github.com/leoncx","followers_url":"https://api.github.com/users/leoncx/followers","following_url":"https://api.github.com/users/leoncx/following{/other_user}","gists_url":"https://api.github.com/users/leoncx/gists{/gist_id}","starred_url":"https://api.github.com/users/leoncx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoncx/subscriptions","organizations_url":"https://api.github.com/users/leoncx/orgs","repos_url":"https://api.github.com/users/leoncx/repos","events_url":"https://api.github.com/users/leoncx/events{/privacy}","received_events_url":"https://api.github.com/users/leoncx/received_events","type":"User","site_admin":false},{"login":"kduret","id":11978823,"node_id":"MDQ6VXNlcjExOTc4ODIz","avatar_url":"https://avatars1.githubusercontent.com/u/11978823?v=4","gravatar_id":"","url":"https://api.github.com/users/kduret","html_url":"https://github.com/kduret","followers_url":"https://api.github.com/users/kduret/followers","following_url":"https://api.github.com/users/kduret/following{/other_user}","gists_url":"https://api.github.com/users/kduret/gists{/gist_id}","starred_url":"https://api.github.com/users/kduret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kduret/subscriptions","organizations_url":"https://api.github.com/users/kduret/orgs","repos_url":"https://api.github.com/users/kduret/repos","events_url":"https://api.github.com/users/kduret/events{/privacy}","received_events_url":"https://api.github.com/users/kduret/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/centreon/centreon/pulls/6413/commits","review_comments_url":"https://api.github.com/repos/centreon/centreon/pulls/6413/comments","review_comment_url":"https://api.github.com/repos/centreon/centreon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/centreon/centreon/issues/6413/comments","statuses_url":"https://api.github.com/repos/centreon/centreon/statuses/522f1fe4493c25a6e10f965d0c3471e45dd3721c","head":{"label":"uncleflo:2.8.x-secfixes2","ref":"2.8.x-secfixes2","sha":"522f1fe4493c25a6e10f965d0c3471e45dd3721c","user":{"login":"uncleflo","id":4184545,"node_id":"MDQ6VXNlcjQxODQ1NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/4184545?v=4","gravatar_id":"","url":"https://api.github.com/users/uncleflo","html_url":"https://github.com/uncleflo","followers_url":"https://api.github.com/users/uncleflo/followers","following_url":"https://api.github.com/users/uncleflo/following{/other_user}","gists_url":"https://api.github.com/users/uncleflo/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleflo/subscriptions","organizations_url":"https://api.github.com/users/uncleflo/orgs","repos_url":"https://api.github.com/users/uncleflo/repos","events_url":"https://api.github.com/users/uncleflo/events{/privacy}","received_events_url":"https://api.github.com/users/uncleflo/received_events","type":"User","site_admin":false},"repo":{"id":93664360,"node_id":"MDEwOlJlcG9zaXRvcnk5MzY2NDM2MA==","name":"centreon","full_name":"uncleflo/centreon","owner":{"login":"uncleflo","id":4184545,"node_id":"MDQ6VXNlcjQxODQ1NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/4184545?v=4","gravatar_id":"","url":"https://api.github.com/users/uncleflo","html_url":"https://github.com/uncleflo","followers_url":"https://api.github.com/users/uncleflo/followers","following_url":"https://api.github.com/users/uncleflo/following{/other_user}","gists_url":"https://api.github.com/users/uncleflo/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleflo/subscriptions","organizations_url":"https://api.github.com/users/uncleflo/orgs","repos_url":"https://api.github.com/users/uncleflo/repos","events_url":"https://api.github.com/users/uncleflo/events{/privacy}","received_events_url":"https://api.github.com/users/uncleflo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uncleflo/centreon","description":"Centreon is a network, system, applicative supervision and monitoring tool","fork":true,"url":"https://api.github.com/repos/uncleflo/centreon","forks_url":"https://api.github.com/repos/uncleflo/centreon/forks","keys_url":"https://api.github.com/repos/uncleflo/centreon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uncleflo/centreon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uncleflo/centreon/teams","hooks_url":"https://api.github.com/repos/uncleflo/centreon/hooks","issue_events_url":"https://api.github.com/repos/uncleflo/centreon/issues/events{/number}","events_url":"https://api.github.com/repos/uncleflo/centreon/events","assignees_url":"https://api.github.com/repos/uncleflo/centreon/assignees{/user}","branches_url":"https://api.github.com/repos/uncleflo/centreon/branches{/branch}","tags_url":"https://api.github.com/repos/uncleflo/centreon/tags","blobs_url":"https://api.github.com/repos/uncleflo/centreon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uncleflo/centreon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uncleflo/centreon/git/refs{/sha}","trees_url":"https://api.github.com/repos/uncleflo/centreon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uncleflo/centreon/statuses/{sha}","languages_url":"https://api.github.com/repos/uncleflo/centreon/languages","stargazers_url":"https://api.github.com/repos/uncleflo/centreon/stargazers","contributors_url":"https://api.github.com/repos/uncleflo/centreon/contributors","subscribers_url":"https://api.github.com/repos/uncleflo/centreon/subscribers","subscription_url":"https://api.github.com/repos/uncleflo/centreon/subscription","commits_url":"https://api.github.com/repos/uncleflo/centreon/commits{/sha}","git_commits_url":"https://api.github.com/repos/uncleflo/centreon/git/commits{/sha}","comments_url":"https://api.github.com/repos/uncleflo/centreon/comments{/number}","issue_comment_url":"https://api.github.com/repos/uncleflo/centreon/issues/comments{/number}","contents_url":"https://api.github.com/repos/uncleflo/centreon/contents/{+path}","compare_url":"https://api.github.com/repos/uncleflo/centreon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uncleflo/centreon/merges","archive_url":"https://api.github.com/repos/uncleflo/centreon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uncleflo/centreon/downloads","issues_url":"https://api.github.com/repos/uncleflo/centreon/issues{/number}","pulls_url":"https://api.github.com/repos/uncleflo/centreon/pulls{/number}","milestones_url":"https://api.github.com/repos/uncleflo/centreon/milestones{/number}","notifications_url":"https://api.github.com/repos/uncleflo/centreon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uncleflo/centreon/labels{/name}","releases_url":"https://api.github.com/repos/uncleflo/centreon/releases{/id}","deployments_url":"https://api.github.com/repos/uncleflo/centreon/deployments","created_at":"2017-06-07T18:00:37Z","updated_at":"2017-06-07T18:00:45Z","pushed_at":"2018-06-29T15:55:22Z","git_url":"git://github.com/uncleflo/centreon.git","ssh_url":"git@github.com:uncleflo/centreon.git","clone_url":"https://github.com/uncleflo/centreon.git","svn_url":"https://github.com/uncleflo/centreon","homepage":"https://www.centreon.com","size":124585,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.8.x"}},"base":{"label":"centreon:2.8.x","ref":"2.8.x","sha":"73b0b351e9cbe2b68681c8d8b55fcef76f01bae9","user":{"login":"centreon","id":1890152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4OTAxNTI=","avatar_url":"https://avatars3.githubusercontent.com/u/1890152?v=4","gravatar_id":"","url":"https://api.github.com/users/centreon","html_url":"https://github.com/centreon","followers_url":"https://api.github.com/users/centreon/followers","following_url":"https://api.github.com/users/centreon/following{/other_user}","gists_url":"https://api.github.com/users/centreon/gists{/gist_id}","starred_url":"https://api.github.com/users/centreon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centreon/subscriptions","organizations_url":"https://api.github.com/users/centreon/orgs","repos_url":"https://api.github.com/users/centreon/repos","events_url":"https://api.github.com/users/centreon/events{/privacy}","received_events_url":"https://api.github.com/users/centreon/received_events","type":"Organization","site_admin":false},"repo":{"id":9074774,"node_id":"MDEwOlJlcG9zaXRvcnk5MDc0Nzc0","name":"centreon","full_name":"centreon/centreon","owner":{"login":"centreon","id":1890152,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4OTAxNTI=","avatar_url":"https://avatars3.githubusercontent.com/u/1890152?v=4","gravatar_id":"","url":"https://api.github.com/users/centreon","html_url":"https://github.com/centreon","followers_url":"https://api.github.com/users/centreon/followers","following_url":"https://api.github.com/users/centreon/following{/other_user}","gists_url":"https://api.github.com/users/centreon/gists{/gist_id}","starred_url":"https://api.github.com/users/centreon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centreon/subscriptions","organizations_url":"https://api.github.com/users/centreon/orgs","repos_url":"https://api.github.com/users/centreon/repos","events_url":"https://api.github.com/users/centreon/events{/privacy}","received_events_url":"https://api.github.com/users/centreon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/centreon/centreon","description":"Centreon is a network, system, applicative supervision and monitoring tool","fork":false,"url":"https://api.github.com/repos/centreon/centreon","forks_url":"https://api.github.com/repos/centreon/centreon/forks","keys_url":"https://api.github.com/repos/centreon/centreon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/centreon/centreon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/centreon/centreon/teams","hooks_url":"https://api.github.com/repos/centreon/centreon/hooks","issue_events_url":"https://api.github.com/repos/centreon/centreon/issues/events{/number}","events_url":"https://api.github.com/repos/centreon/centreon/events","assignees_url":"https://api.github.com/repos/centreon/centreon/assignees{/user}","branches_url":"https://api.github.com/repos/centreon/centreon/branches{/branch}","tags_url":"https://api.github.com/repos/centreon/centreon/tags","blobs_url":"https://api.github.com/repos/centreon/centreon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/centreon/centreon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/centreon/centreon/git/refs{/sha}","trees_url":"https://api.github.com/repos/centreon/centreon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/centreon/centreon/statuses/{sha}","languages_url":"https://api.github.com/repos/centreon/centreon/languages","stargazers_url":"https://api.github.com/repos/centreon/centreon/stargazers","contributors_url":"https://api.github.com/repos/centreon/centreon/contributors","subscribers_url":"https://api.github.com/repos/centreon/centreon/subscribers","subscription_url":"https://api.github.com/repos/centreon/centreon/subscription","commits_url":"https://api.github.com/repos/centreon/centreon/commits{/sha}","git_commits_url":"https://api.github.com/repos/centreon/centreon/git/commits{/sha}","comments_url":"https://api.github.com/repos/centreon/centreon/comments{/number}","issue_comment_url":"https://api.github.com/repos/centreon/centreon/issues/comments{/number}","contents_url":"https://api.github.com/repos/centreon/centreon/contents/{+path}","compare_url":"https://api.github.com/repos/centreon/centreon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/centreon/centreon/merges","archive_url":"https://api.github.com/repos/centreon/centreon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/centreon/centreon/downloads","issues_url":"https://api.github.com/repos/centreon/centreon/issues{/number}","pulls_url":"https://api.github.com/repos/centreon/centreon/pulls{/number}","milestones_url":"https://api.github.com/repos/centreon/centreon/milestones{/number}","notifications_url":"https://api.github.com/repos/centreon/centreon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/centreon/centreon/labels{/name}","releases_url":"https://api.github.com/repos/centreon/centreon/releases{/id}","deployments_url":"https://api.github.com/repos/centreon/centreon/deployments","created_at":"2013-03-28T10:24:33Z","updated_at":"2018-06-27T00:52:11Z","pushed_at":"2018-07-03T13:38:47Z","git_url":"git://github.com/centreon/centreon.git","ssh_url":"git@github.com:centreon/centreon.git","clone_url":"https://github.com/centreon/centreon.git","svn_url":"https://github.com/centreon/centreon","homepage":"https://www.centreon.com","size":128367,"stargazers_count":217,"watchers_count":217,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":143,"mirror_url":null,"archived":false,"open_issues_count":572,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":143,"open_issues":572,"watchers":217,"default_branch":"2.8.x"}},"_links":{"self":{"href":"https://api.github.com/repos/centreon/centreon/pulls/6413"},"html":{"href":"https://github.com/centreon/centreon/pull/6413"},"issue":{"href":"https://api.github.com/repos/centreon/centreon/issues/6413"},"comments":{"href":"https://api.github.com/repos/centreon/centreon/issues/6413/comments"},"review_comments":{"href":"https://api.github.com/repos/centreon/centreon/pulls/6413/comments"},"review_comment":{"href":"https://api.github.com/repos/centreon/centreon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/centreon/centreon/pulls/6413/commits"},"statuses":{"href":"https://api.github.com/repos/centreon/centreon/statuses/522f1fe4493c25a6e10f965d0c3471e45dd3721c"}},"author_association":"NONE"}}
{"actor":{"display_login":"sc979"}}