{"action":"opened","number":309,"pull_request":{"url":"https://api.github.com/repos/nette/tracy/pulls/309","id":200087010,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMDg3MDEw","html_url":"https://github.com/nette/tracy/pull/309","diff_url":"https://github.com/nette/tracy/pull/309.diff","patch_url":"https://github.com/nette/tracy/pull/309.patch","issue_url":"https://api.github.com/repos/nette/tracy/issues/309","number":309,"state":"open","locked":false,"title":"Helpers: take host name from SERVER_NAME instead of HTTP_HOST","user":{"login":"CZechBoY","id":4347332,"node_id":"MDQ6VXNlcjQzNDczMzI=","avatar_url":"https://avatars0.githubusercontent.com/u/4347332?v=4","gravatar_id":"","url":"https://api.github.com/users/CZechBoY","html_url":"https://github.com/CZechBoY","followers_url":"https://api.github.com/users/CZechBoY/followers","following_url":"https://api.github.com/users/CZechBoY/following{/other_user}","gists_url":"https://api.github.com/users/CZechBoY/gists{/gist_id}","starred_url":"https://api.github.com/users/CZechBoY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CZechBoY/subscriptions","organizations_url":"https://api.github.com/users/CZechBoY/orgs","repos_url":"https://api.github.com/users/CZechBoY/repos","events_url":"https://api.github.com/users/CZechBoY/events{/privacy}","received_events_url":"https://api.github.com/users/CZechBoY/received_events","type":"User","site_admin":false},"body":"bug fix\r\nBC break? yes\r\n\r\nHi,\r\nit is better to identify server host name by secure directive SERVER_NAME, because HTTP_HOST is not secure and can be changed by user.\r\nhttps://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html","created_at":"2018-07-09T12:42:16Z","updated_at":"2018-07-09T12:42:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nette/tracy/pulls/309/commits","review_comments_url":"https://api.github.com/repos/nette/tracy/pulls/309/comments","review_comment_url":"https://api.github.com/repos/nette/tracy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nette/tracy/issues/309/comments","statuses_url":"https://api.github.com/repos/nette/tracy/statuses/9e71d6959d23e303c771a32874bd428a62edc52f","head":{"label":"CZechBoY:patch-1","ref":"patch-1","sha":"9e71d6959d23e303c771a32874bd428a62edc52f","user":{"login":"CZechBoY","id":4347332,"node_id":"MDQ6VXNlcjQzNDczMzI=","avatar_url":"https://avatars0.githubusercontent.com/u/4347332?v=4","gravatar_id":"","url":"https://api.github.com/users/CZechBoY","html_url":"https://github.com/CZechBoY","followers_url":"https://api.github.com/users/CZechBoY/followers","following_url":"https://api.github.com/users/CZechBoY/following{/other_user}","gists_url":"https://api.github.com/users/CZechBoY/gists{/gist_id}","starred_url":"https://api.github.com/users/CZechBoY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CZechBoY/subscriptions","organizations_url":"https://api.github.com/users/CZechBoY/orgs","repos_url":"https://api.github.com/users/CZechBoY/repos","events_url":"https://api.github.com/users/CZechBoY/events{/privacy}","received_events_url":"https://api.github.com/users/CZechBoY/received_events","type":"User","site_admin":false},"repo":{"id":140283524,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAyODM1MjQ=","name":"tracy","full_name":"CZechBoY/tracy","owner":{"login":"CZechBoY","id":4347332,"node_id":"MDQ6VXNlcjQzNDczMzI=","avatar_url":"https://avatars0.githubusercontent.com/u/4347332?v=4","gravatar_id":"","url":"https://api.github.com/users/CZechBoY","html_url":"https://github.com/CZechBoY","followers_url":"https://api.github.com/users/CZechBoY/followers","following_url":"https://api.github.com/users/CZechBoY/following{/other_user}","gists_url":"https://api.github.com/users/CZechBoY/gists{/gist_id}","starred_url":"https://api.github.com/users/CZechBoY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CZechBoY/subscriptions","organizations_url":"https://api.github.com/users/CZechBoY/orgs","repos_url":"https://api.github.com/users/CZechBoY/repos","events_url":"https://api.github.com/users/CZechBoY/events{/privacy}","received_events_url":"https://api.github.com/users/CZechBoY/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CZechBoY/tracy","description":"😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.","fork":true,"url":"https://api.github.com/repos/CZechBoY/tracy","forks_url":"https://api.github.com/repos/CZechBoY/tracy/forks","keys_url":"https://api.github.com/repos/CZechBoY/tracy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CZechBoY/tracy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CZechBoY/tracy/teams","hooks_url":"https://api.github.com/repos/CZechBoY/tracy/hooks","issue_events_url":"https://api.github.com/repos/CZechBoY/tracy/issues/events{/number}","events_url":"https://api.github.com/repos/CZechBoY/tracy/events","assignees_url":"https://api.github.com/repos/CZechBoY/tracy/assignees{/user}","branches_url":"https://api.github.com/repos/CZechBoY/tracy/branches{/branch}","tags_url":"https://api.github.com/repos/CZechBoY/tracy/tags","blobs_url":"https://api.github.com/repos/CZechBoY/tracy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CZechBoY/tracy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CZechBoY/tracy/git/refs{/sha}","trees_url":"https://api.github.com/repos/CZechBoY/tracy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CZechBoY/tracy/statuses/{sha}","languages_url":"https://api.github.com/repos/CZechBoY/tracy/languages","stargazers_url":"https://api.github.com/repos/CZechBoY/tracy/stargazers","contributors_url":"https://api.github.com/repos/CZechBoY/tracy/contributors","subscribers_url":"https://api.github.com/repos/CZechBoY/tracy/subscribers","subscription_url":"https://api.github.com/repos/CZechBoY/tracy/subscription","commits_url":"https://api.github.com/repos/CZechBoY/tracy/commits{/sha}","git_commits_url":"https://api.github.com/repos/CZechBoY/tracy/git/commits{/sha}","comments_url":"https://api.github.com/repos/CZechBoY/tracy/comments{/number}","issue_comment_url":"https://api.github.com/repos/CZechBoY/tracy/issues/comments{/number}","contents_url":"https://api.github.com/repos/CZechBoY/tracy/contents/{+path}","compare_url":"https://api.github.com/repos/CZechBoY/tracy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CZechBoY/tracy/merges","archive_url":"https://api.github.com/repos/CZechBoY/tracy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CZechBoY/tracy/downloads","issues_url":"https://api.github.com/repos/CZechBoY/tracy/issues{/number}","pulls_url":"https://api.github.com/repos/CZechBoY/tracy/pulls{/number}","milestones_url":"https://api.github.com/repos/CZechBoY/tracy/milestones{/number}","notifications_url":"https://api.github.com/repos/CZechBoY/tracy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CZechBoY/tracy/labels{/name}","releases_url":"https://api.github.com/repos/CZechBoY/tracy/releases{/id}","deployments_url":"https://api.github.com/repos/CZechBoY/tracy/deployments","created_at":"2018-07-09T12:40:36Z","updated_at":"2018-07-09T12:40:38Z","pushed_at":"2018-07-09T12:42:04Z","git_url":"git://github.com/CZechBoY/tracy.git","ssh_url":"git@github.com:CZechBoY/tracy.git","clone_url":"https://github.com/CZechBoY/tracy.git","svn_url":"https://github.com/CZechBoY/tracy","homepage":"https://tracy.nette.org","size":3394,"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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nette:master","ref":"master","sha":"02b60e183ad82c26ad8415547ab393941bef7e94","user":{"login":"nette","id":99965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5OTY1","avatar_url":"https://avatars0.githubusercontent.com/u/99965?v=4","gravatar_id":"","url":"https://api.github.com/users/nette","html_url":"https://github.com/nette","followers_url":"https://api.github.com/users/nette/followers","following_url":"https://api.github.com/users/nette/following{/other_user}","gists_url":"https://api.github.com/users/nette/gists{/gist_id}","starred_url":"https://api.github.com/users/nette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nette/subscriptions","organizations_url":"https://api.github.com/users/nette/orgs","repos_url":"https://api.github.com/users/nette/repos","events_url":"https://api.github.com/users/nette/events{/privacy}","received_events_url":"https://api.github.com/users/nette/received_events","type":"Organization","site_admin":false},"repo":{"id":6720847,"node_id":"MDEwOlJlcG9zaXRvcnk2NzIwODQ3","name":"tracy","full_name":"nette/tracy","owner":{"login":"nette","id":99965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5OTY1","avatar_url":"https://avatars0.githubusercontent.com/u/99965?v=4","gravatar_id":"","url":"https://api.github.com/users/nette","html_url":"https://github.com/nette","followers_url":"https://api.github.com/users/nette/followers","following_url":"https://api.github.com/users/nette/following{/other_user}","gists_url":"https://api.github.com/users/nette/gists{/gist_id}","starred_url":"https://api.github.com/users/nette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nette/subscriptions","organizations_url":"https://api.github.com/users/nette/orgs","repos_url":"https://api.github.com/users/nette/repos","events_url":"https://api.github.com/users/nette/events{/privacy}","received_events_url":"https://api.github.com/users/nette/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nette/tracy","description":"😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.","fork":false,"url":"https://api.github.com/repos/nette/tracy","forks_url":"https://api.github.com/repos/nette/tracy/forks","keys_url":"https://api.github.com/repos/nette/tracy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nette/tracy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nette/tracy/teams","hooks_url":"https://api.github.com/repos/nette/tracy/hooks","issue_events_url":"https://api.github.com/repos/nette/tracy/issues/events{/number}","events_url":"https://api.github.com/repos/nette/tracy/events","assignees_url":"https://api.github.com/repos/nette/tracy/assignees{/user}","branches_url":"https://api.github.com/repos/nette/tracy/branches{/branch}","tags_url":"https://api.github.com/repos/nette/tracy/tags","blobs_url":"https://api.github.com/repos/nette/tracy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nette/tracy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nette/tracy/git/refs{/sha}","trees_url":"https://api.github.com/repos/nette/tracy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nette/tracy/statuses/{sha}","languages_url":"https://api.github.com/repos/nette/tracy/languages","stargazers_url":"https://api.github.com/repos/nette/tracy/stargazers","contributors_url":"https://api.github.com/repos/nette/tracy/contributors","subscribers_url":"https://api.github.com/repos/nette/tracy/subscribers","subscription_url":"https://api.github.com/repos/nette/tracy/subscription","commits_url":"https://api.github.com/repos/nette/tracy/commits{/sha}","git_commits_url":"https://api.github.com/repos/nette/tracy/git/commits{/sha}","comments_url":"https://api.github.com/repos/nette/tracy/comments{/number}","issue_comment_url":"https://api.github.com/repos/nette/tracy/issues/comments{/number}","contents_url":"https://api.github.com/repos/nette/tracy/contents/{+path}","compare_url":"https://api.github.com/repos/nette/tracy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nette/tracy/merges","archive_url":"https://api.github.com/repos/nette/tracy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nette/tracy/downloads","issues_url":"https://api.github.com/repos/nette/tracy/issues{/number}","pulls_url":"https://api.github.com/repos/nette/tracy/pulls{/number}","milestones_url":"https://api.github.com/repos/nette/tracy/milestones{/number}","notifications_url":"https://api.github.com/repos/nette/tracy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nette/tracy/labels{/name}","releases_url":"https://api.github.com/repos/nette/tracy/releases{/id}","deployments_url":"https://api.github.com/repos/nette/tracy/deployments","created_at":"2012-11-16T11:51:28Z","updated_at":"2018-07-08T11:26:02Z","pushed_at":"2018-07-03T11:45:07Z","git_url":"git://github.com/nette/tracy.git","ssh_url":"git@github.com:nette/tracy.git","clone_url":"https://github.com/nette/tracy.git","svn_url":"https://github.com/nette/tracy","homepage":"https://tracy.nette.org","size":3394,"stargazers_count":948,"watchers_count":948,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":138,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":138,"open_issues":27,"watchers":948,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nette/tracy/pulls/309"},"html":{"href":"https://github.com/nette/tracy/pull/309"},"issue":{"href":"https://api.github.com/repos/nette/tracy/issues/309"},"comments":{"href":"https://api.github.com/repos/nette/tracy/issues/309/comments"},"review_comments":{"href":"https://api.github.com/repos/nette/tracy/pulls/309/comments"},"review_comment":{"href":"https://api.github.com/repos/nette/tracy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nette/tracy/pulls/309/commits"},"statuses":{"href":"https://api.github.com/repos/nette/tracy/statuses/9e71d6959d23e303c771a32874bd428a62edc52f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"CZechBoY"}}