{"action":"closed","number":1681,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/1681","id":47956052,"html_url":"https://github.com/swagger-api/swagger-ui/pull/1681","diff_url":"https://github.com/swagger-api/swagger-ui/pull/1681.diff","patch_url":"https://github.com/swagger-api/swagger-ui/pull/1681.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1681","number":1681,"state":"closed","locked":false,"title":"fix how default url is loaded from window.location","user":{"login":"natemurthy","id":1788878,"avatar_url":"https://avatars.githubusercontent.com/u/1788878?v=3","gravatar_id":"","url":"https://api.github.com/users/natemurthy","html_url":"https://github.com/natemurthy","followers_url":"https://api.github.com/users/natemurthy/followers","following_url":"https://api.github.com/users/natemurthy/following{/other_user}","gists_url":"https://api.github.com/users/natemurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/natemurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemurthy/subscriptions","organizations_url":"https://api.github.com/users/natemurthy/orgs","repos_url":"https://api.github.com/users/natemurthy/repos","events_url":"https://api.github.com/users/natemurthy/events{/privacy}","received_events_url":"https://api.github.com/users/natemurthy/received_events","type":"User","site_admin":false},"body":"window.location.search.match(/url=([^&]+)/) yields null on some browsers. replace with window.location.origin to get proper url from web browser for querying application api-docs and for loading base url in swagger-ui/index.html","created_at":"2015-10-16T20:26:15Z","updated_at":"2016-08-10T11:54:04Z","closed_at":"2016-08-10T11:54:04Z","merged_at":null,"merge_commit_sha":"8e8c2dcfd62d5081046c21917b45c99816a120bd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/1681/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/1681/comments","review_comment_url":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1681/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-ui/statuses/1ffdc9f7be07a13a349f3a798c9b2b1b6bc04a6c","head":{"label":"natemurthy:master","ref":"master","sha":"1ffdc9f7be07a13a349f3a798c9b2b1b6bc04a6c","user":{"login":"natemurthy","id":1788878,"avatar_url":"https://avatars.githubusercontent.com/u/1788878?v=3","gravatar_id":"","url":"https://api.github.com/users/natemurthy","html_url":"https://github.com/natemurthy","followers_url":"https://api.github.com/users/natemurthy/followers","following_url":"https://api.github.com/users/natemurthy/following{/other_user}","gists_url":"https://api.github.com/users/natemurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/natemurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemurthy/subscriptions","organizations_url":"https://api.github.com/users/natemurthy/orgs","repos_url":"https://api.github.com/users/natemurthy/repos","events_url":"https://api.github.com/users/natemurthy/events{/privacy}","received_events_url":"https://api.github.com/users/natemurthy/received_events","type":"User","site_admin":false},"repo":{"id":44408344,"name":"swagger-ui","full_name":"natemurthy/swagger-ui","owner":{"login":"natemurthy","id":1788878,"avatar_url":"https://avatars.githubusercontent.com/u/1788878?v=3","gravatar_id":"","url":"https://api.github.com/users/natemurthy","html_url":"https://github.com/natemurthy","followers_url":"https://api.github.com/users/natemurthy/followers","following_url":"https://api.github.com/users/natemurthy/following{/other_user}","gists_url":"https://api.github.com/users/natemurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/natemurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemurthy/subscriptions","organizations_url":"https://api.github.com/users/natemurthy/orgs","repos_url":"https://api.github.com/users/natemurthy/repos","events_url":"https://api.github.com/users/natemurthy/events{/privacy}","received_events_url":"https://api.github.com/users/natemurthy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/natemurthy/swagger-ui","description":"Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.","fork":true,"url":"https://api.github.com/repos/natemurthy/swagger-ui","forks_url":"https://api.github.com/repos/natemurthy/swagger-ui/forks","keys_url":"https://api.github.com/repos/natemurthy/swagger-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natemurthy/swagger-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natemurthy/swagger-ui/teams","hooks_url":"https://api.github.com/repos/natemurthy/swagger-ui/hooks","issue_events_url":"https://api.github.com/repos/natemurthy/swagger-ui/issues/events{/number}","events_url":"https://api.github.com/repos/natemurthy/swagger-ui/events","assignees_url":"https://api.github.com/repos/natemurthy/swagger-ui/assignees{/user}","branches_url":"https://api.github.com/repos/natemurthy/swagger-ui/branches{/branch}","tags_url":"https://api.github.com/repos/natemurthy/swagger-ui/tags","blobs_url":"https://api.github.com/repos/natemurthy/swagger-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natemurthy/swagger-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natemurthy/swagger-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/natemurthy/swagger-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natemurthy/swagger-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/natemurthy/swagger-ui/languages","stargazers_url":"https://api.github.com/repos/natemurthy/swagger-ui/stargazers","contributors_url":"https://api.github.com/repos/natemurthy/swagger-ui/contributors","subscribers_url":"https://api.github.com/repos/natemurthy/swagger-ui/subscribers","subscription_url":"https://api.github.com/repos/natemurthy/swagger-ui/subscription","commits_url":"https://api.github.com/repos/natemurthy/swagger-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/natemurthy/swagger-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/natemurthy/swagger-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/natemurthy/swagger-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/natemurthy/swagger-ui/contents/{+path}","compare_url":"https://api.github.com/repos/natemurthy/swagger-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natemurthy/swagger-ui/merges","archive_url":"https://api.github.com/repos/natemurthy/swagger-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natemurthy/swagger-ui/downloads","issues_url":"https://api.github.com/repos/natemurthy/swagger-ui/issues{/number}","pulls_url":"https://api.github.com/repos/natemurthy/swagger-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/natemurthy/swagger-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/natemurthy/swagger-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natemurthy/swagger-ui/labels{/name}","releases_url":"https://api.github.com/repos/natemurthy/swagger-ui/releases{/id}","deployments_url":"https://api.github.com/repos/natemurthy/swagger-ui/deployments","created_at":"2015-10-16T20:17:25Z","updated_at":"2015-10-16T20:17:29Z","pushed_at":"2015-10-16T20:23:15Z","git_url":"git://github.com/natemurthy/swagger-ui.git","ssh_url":"git@github.com:natemurthy/swagger-ui.git","clone_url":"https://github.com/natemurthy/swagger-ui.git","svn_url":"https://github.com/natemurthy/swagger-ui","homepage":"http://swagger.io","size":17319,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"swagger-api:master","ref":"master","sha":"2c252f3c4833b99c6aaeaaabbf51ca9677360791","user":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars.githubusercontent.com/u/7658037?v=3","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"repo":{"id":2055965,"name":"swagger-ui","full_name":"swagger-api/swagger-ui","owner":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars.githubusercontent.com/u/7658037?v=3","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swagger-api/swagger-ui","description":"Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.","fork":false,"url":"https://api.github.com/repos/swagger-api/swagger-ui","forks_url":"https://api.github.com/repos/swagger-api/swagger-ui/forks","keys_url":"https://api.github.com/repos/swagger-api/swagger-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swagger-api/swagger-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swagger-api/swagger-ui/teams","hooks_url":"https://api.github.com/repos/swagger-api/swagger-ui/hooks","issue_events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/events{/number}","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/events","assignees_url":"https://api.github.com/repos/swagger-api/swagger-ui/assignees{/user}","branches_url":"https://api.github.com/repos/swagger-api/swagger-ui/branches{/branch}","tags_url":"https://api.github.com/repos/swagger-api/swagger-ui/tags","blobs_url":"https://api.github.com/repos/swagger-api/swagger-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swagger-api/swagger-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swagger-api/swagger-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/swagger-api/swagger-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swagger-api/swagger-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/swagger-api/swagger-ui/languages","stargazers_url":"https://api.github.com/repos/swagger-api/swagger-ui/stargazers","contributors_url":"https://api.github.com/repos/swagger-api/swagger-ui/contributors","subscribers_url":"https://api.github.com/repos/swagger-api/swagger-ui/subscribers","subscription_url":"https://api.github.com/repos/swagger-api/swagger-ui/subscription","commits_url":"https://api.github.com/repos/swagger-api/swagger-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/swagger-api/swagger-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/swagger-api/swagger-ui/contents/{+path}","compare_url":"https://api.github.com/repos/swagger-api/swagger-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swagger-api/swagger-ui/merges","archive_url":"https://api.github.com/repos/swagger-api/swagger-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swagger-api/swagger-ui/downloads","issues_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues{/number}","pulls_url":"https://api.github.com/repos/swagger-api/swagger-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/swagger-api/swagger-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/swagger-api/swagger-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/labels{/name}","releases_url":"https://api.github.com/repos/swagger-api/swagger-ui/releases{/id}","deployments_url":"https://api.github.com/repos/swagger-api/swagger-ui/deployments","created_at":"2011-07-15T22:56:39Z","updated_at":"2016-08-10T11:30:42Z","pushed_at":"2016-08-10T11:52:37Z","git_url":"git://github.com/swagger-api/swagger-ui.git","ssh_url":"git@github.com:swagger-api/swagger-ui.git","clone_url":"https://github.com/swagger-api/swagger-ui.git","svn_url":"https://github.com/swagger-api/swagger-ui","homepage":"http://swagger.io","size":53510,"stargazers_count":5660,"watchers_count":5660,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3182,"mirror_url":null,"open_issues_count":412,"forks":3182,"open_issues":412,"watchers":5660,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/1681"},"html":{"href":"https://github.com/swagger-api/swagger-ui/pull/1681"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1681"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1681/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/1681/comments"},"review_comment":{"href":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swagger-api/swagger-ui/pulls/1681/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-ui/statuses/1ffdc9f7be07a13a349f3a798c9b2b1b6bc04a6c"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":7,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"fehguy"}}