{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/apache/mesos/pulls/34","id":27635621,"html_url":"https://github.com/apache/mesos/pull/34","diff_url":"https://github.com/apache/mesos/pull/34.diff","patch_url":"https://github.com/apache/mesos/pull/34.patch","issue_url":"https://api.github.com/repos/apache/mesos/issues/34","number":34,"state":"open","locked":false,"title":"Replace hardcoded 'http:' in webui code with window.location.protocol","user":{"login":"arnaudbriche","id":1875035,"avatar_url":"https://avatars.githubusercontent.com/u/1875035?v=3","gravatar_id":"","url":"https://api.github.com/users/arnaudbriche","html_url":"https://github.com/arnaudbriche","followers_url":"https://api.github.com/users/arnaudbriche/followers","following_url":"https://api.github.com/users/arnaudbriche/following{/other_user}","gists_url":"https://api.github.com/users/arnaudbriche/gists{/gist_id}","starred_url":"https://api.github.com/users/arnaudbriche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnaudbriche/subscriptions","organizations_url":"https://api.github.com/users/arnaudbriche/orgs","repos_url":"https://api.github.com/users/arnaudbriche/repos","events_url":"https://api.github.com/users/arnaudbriche/events{/privacy}","received_events_url":"https://api.github.com/users/arnaudbriche/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nIn my mesos setup I access mesos webui from on https endpoint which reverse proxy requests to mesos (listening on the private interface ip of the machine); in order to not break internal links in the webui, \r\nI just replaced the hardcoded 'http:' string with a protocol independent window.location.protocol.\r\nMaybe it can be of interest for some other mesos users.","created_at":"2015-01-19T21:05:16Z","updated_at":"2015-01-19T21:05:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/mesos/pulls/34/commits","review_comments_url":"https://api.github.com/repos/apache/mesos/pulls/34/comments","review_comment_url":"https://api.github.com/repos/apache/mesos/pulls/comments/{number}","comments_url":"https://api.github.com/repos/apache/mesos/issues/34/comments","statuses_url":"https://api.github.com/repos/apache/mesos/statuses/ffca5928a44b99f6dc60dff8c954b7416f146a7d","head":{"label":"Adyoulike:master","ref":"master","sha":"ffca5928a44b99f6dc60dff8c954b7416f146a7d","user":{"login":"Adyoulike","id":822559,"avatar_url":"https://avatars.githubusercontent.com/u/822559?v=3","gravatar_id":"","url":"https://api.github.com/users/Adyoulike","html_url":"https://github.com/Adyoulike","followers_url":"https://api.github.com/users/Adyoulike/followers","following_url":"https://api.github.com/users/Adyoulike/following{/other_user}","gists_url":"https://api.github.com/users/Adyoulike/gists{/gist_id}","starred_url":"https://api.github.com/users/Adyoulike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adyoulike/subscriptions","organizations_url":"https://api.github.com/users/Adyoulike/orgs","repos_url":"https://api.github.com/users/Adyoulike/repos","events_url":"https://api.github.com/users/Adyoulike/events{/privacy}","received_events_url":"https://api.github.com/users/Adyoulike/received_events","type":"Organization","site_admin":false},"repo":{"id":27374003,"name":"mesos","full_name":"Adyoulike/mesos","owner":{"login":"Adyoulike","id":822559,"avatar_url":"https://avatars.githubusercontent.com/u/822559?v=3","gravatar_id":"","url":"https://api.github.com/users/Adyoulike","html_url":"https://github.com/Adyoulike","followers_url":"https://api.github.com/users/Adyoulike/followers","following_url":"https://api.github.com/users/Adyoulike/following{/other_user}","gists_url":"https://api.github.com/users/Adyoulike/gists{/gist_id}","starred_url":"https://api.github.com/users/Adyoulike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adyoulike/subscriptions","organizations_url":"https://api.github.com/users/Adyoulike/orgs","repos_url":"https://api.github.com/users/Adyoulike/repos","events_url":"https://api.github.com/users/Adyoulike/events{/privacy}","received_events_url":"https://api.github.com/users/Adyoulike/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Adyoulike/mesos","description":"Mirror of Apache Mesos","fork":true,"url":"https://api.github.com/repos/Adyoulike/mesos","forks_url":"https://api.github.com/repos/Adyoulike/mesos/forks","keys_url":"https://api.github.com/repos/Adyoulike/mesos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Adyoulike/mesos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Adyoulike/mesos/teams","hooks_url":"https://api.github.com/repos/Adyoulike/mesos/hooks","issue_events_url":"https://api.github.com/repos/Adyoulike/mesos/issues/events{/number}","events_url":"https://api.github.com/repos/Adyoulike/mesos/events","assignees_url":"https://api.github.com/repos/Adyoulike/mesos/assignees{/user}","branches_url":"https://api.github.com/repos/Adyoulike/mesos/branches{/branch}","tags_url":"https://api.github.com/repos/Adyoulike/mesos/tags","blobs_url":"https://api.github.com/repos/Adyoulike/mesos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Adyoulike/mesos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Adyoulike/mesos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Adyoulike/mesos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Adyoulike/mesos/statuses/{sha}","languages_url":"https://api.github.com/repos/Adyoulike/mesos/languages","stargazers_url":"https://api.github.com/repos/Adyoulike/mesos/stargazers","contributors_url":"https://api.github.com/repos/Adyoulike/mesos/contributors","subscribers_url":"https://api.github.com/repos/Adyoulike/mesos/subscribers","subscription_url":"https://api.github.com/repos/Adyoulike/mesos/subscription","commits_url":"https://api.github.com/repos/Adyoulike/mesos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Adyoulike/mesos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Adyoulike/mesos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Adyoulike/mesos/issues/comments/{number}","contents_url":"https://api.github.com/repos/Adyoulike/mesos/contents/{+path}","compare_url":"https://api.github.com/repos/Adyoulike/mesos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Adyoulike/mesos/merges","archive_url":"https://api.github.com/repos/Adyoulike/mesos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Adyoulike/mesos/downloads","issues_url":"https://api.github.com/repos/Adyoulike/mesos/issues{/number}","pulls_url":"https://api.github.com/repos/Adyoulike/mesos/pulls{/number}","milestones_url":"https://api.github.com/repos/Adyoulike/mesos/milestones{/number}","notifications_url":"https://api.github.com/repos/Adyoulike/mesos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Adyoulike/mesos/labels{/name}","releases_url":"https://api.github.com/repos/Adyoulike/mesos/releases{/id}","created_at":"2014-12-01T10:18:44Z","updated_at":"2015-01-19T20:58:36Z","pushed_at":"2015-01-19T20:58:34Z","git_url":"git://github.com/Adyoulike/mesos.git","ssh_url":"git@github.com:Adyoulike/mesos.git","clone_url":"https://github.com/Adyoulike/mesos.git","svn_url":"https://github.com/Adyoulike/mesos","homepage":null,"size":225458,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"076889efab84f80e094f27601a2f85cb97723528","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":11469439,"name":"mesos","full_name":"apache/mesos","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/mesos","description":"Mirror of Apache Mesos","fork":false,"url":"https://api.github.com/repos/apache/mesos","forks_url":"https://api.github.com/repos/apache/mesos/forks","keys_url":"https://api.github.com/repos/apache/mesos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/mesos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/mesos/teams","hooks_url":"https://api.github.com/repos/apache/mesos/hooks","issue_events_url":"https://api.github.com/repos/apache/mesos/issues/events{/number}","events_url":"https://api.github.com/repos/apache/mesos/events","assignees_url":"https://api.github.com/repos/apache/mesos/assignees{/user}","branches_url":"https://api.github.com/repos/apache/mesos/branches{/branch}","tags_url":"https://api.github.com/repos/apache/mesos/tags","blobs_url":"https://api.github.com/repos/apache/mesos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/mesos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/mesos/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/mesos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/mesos/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/mesos/languages","stargazers_url":"https://api.github.com/repos/apache/mesos/stargazers","contributors_url":"https://api.github.com/repos/apache/mesos/contributors","subscribers_url":"https://api.github.com/repos/apache/mesos/subscribers","subscription_url":"https://api.github.com/repos/apache/mesos/subscription","commits_url":"https://api.github.com/repos/apache/mesos/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/mesos/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/mesos/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/mesos/issues/comments/{number}","contents_url":"https://api.github.com/repos/apache/mesos/contents/{+path}","compare_url":"https://api.github.com/repos/apache/mesos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/mesos/merges","archive_url":"https://api.github.com/repos/apache/mesos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/mesos/downloads","issues_url":"https://api.github.com/repos/apache/mesos/issues{/number}","pulls_url":"https://api.github.com/repos/apache/mesos/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/mesos/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/mesos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/mesos/labels{/name}","releases_url":"https://api.github.com/repos/apache/mesos/releases{/id}","created_at":"2013-07-17T07:00:13Z","updated_at":"2015-01-19T21:01:29Z","pushed_at":"2015-01-17T02:01:06Z","git_url":"git://github.com/apache/mesos.git","ssh_url":"git@github.com:apache/mesos.git","clone_url":"https://github.com/apache/mesos.git","svn_url":"https://github.com/apache/mesos","homepage":null,"size":239457,"stargazers_count":1011,"watchers_count":1011,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":256,"mirror_url":"git://git.apache.org/mesos.git","open_issues_count":14,"forks":256,"open_issues":14,"watchers":1011,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/mesos/pulls/34"},"html":{"href":"https://github.com/apache/mesos/pull/34"},"issue":{"href":"https://api.github.com/repos/apache/mesos/issues/34"},"comments":{"href":"https://api.github.com/repos/apache/mesos/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/mesos/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/mesos/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/apache/mesos/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/apache/mesos/statuses/ffca5928a44b99f6dc60dff8c954b7416f146a7d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":7,"changed_files":2}}