{"action":"closed","number":5375,"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/5375","id":90068716,"html_url":"https://github.com/Automattic/jetpack/pull/5375","diff_url":"https://github.com/Automattic/jetpack/pull/5375.diff","patch_url":"https://github.com/Automattic/jetpack/pull/5375.patch","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/5375","number":5375,"state":"closed","locked":false,"title":"Sitemaps: do not add images with relative paths to sitemaps","user":{"login":"catchmyfame","id":78397,"avatar_url":"https://avatars.githubusercontent.com/u/78397?v=3","gravatar_id":"","url":"https://api.github.com/users/catchmyfame","html_url":"https://github.com/catchmyfame","followers_url":"https://api.github.com/users/catchmyfame/followers","following_url":"https://api.github.com/users/catchmyfame/following{/other_user}","gists_url":"https://api.github.com/users/catchmyfame/gists{/gist_id}","starred_url":"https://api.github.com/users/catchmyfame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catchmyfame/subscriptions","organizations_url":"https://api.github.com/users/catchmyfame/orgs","repos_url":"https://api.github.com/users/catchmyfame/repos","events_url":"https://api.github.com/users/catchmyfame/events{/privacy}","received_events_url":"https://api.github.com/users/catchmyfame/received_events","type":"User","site_admin":false},"body":"Fixes #5256 \n#### Changes proposed in this Pull Request:\n\nTests the URL of images to see if a scheme and host are specified. If not, it's a relative path and it then modified to be an absolute URL.\n#### Testing instructions:\n- Create a page or post with images that have a mix of relative and absolute paths.\n- Update or publish the content to generate a new sitemap and all images will have absolute URLs.\n\n<!-- Add the following only if this is meant to be in changelog -->\n","created_at":"2016-10-19T18:51:47Z","updated_at":"2016-11-09T19:38:51Z","closed_at":"2016-11-09T19:38:50Z","merged_at":"2016-11-09T19:38:50Z","merge_commit_sha":"5797d5198bff275c2b93551e0f845131a5a9861b","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/54","html_url":"https://github.com/Automattic/jetpack/milestones/4.4","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/54/labels","id":1869985,"number":54,"title":"4.4","description":"Code Freeze: 2016-11-9","creator":{"login":"richardmuscat","id":2287740,"avatar_url":"https://avatars.githubusercontent.com/u/2287740?v=3","gravatar_id":"","url":"https://api.github.com/users/richardmuscat","html_url":"https://github.com/richardmuscat","followers_url":"https://api.github.com/users/richardmuscat/followers","following_url":"https://api.github.com/users/richardmuscat/following{/other_user}","gists_url":"https://api.github.com/users/richardmuscat/gists{/gist_id}","starred_url":"https://api.github.com/users/richardmuscat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardmuscat/subscriptions","organizations_url":"https://api.github.com/users/richardmuscat/orgs","repos_url":"https://api.github.com/users/richardmuscat/repos","events_url":"https://api.github.com/users/richardmuscat/events{/privacy}","received_events_url":"https://api.github.com/users/richardmuscat/received_events","type":"User","site_admin":false},"open_issues":237,"closed_issues":231,"state":"open","created_at":"2016-07-07T13:38:22Z","updated_at":"2016-11-09T19:38:50Z","due_on":"2016-11-18T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Automattic/jetpack/pulls/5375/commits","review_comments_url":"https://api.github.com/repos/Automattic/jetpack/pulls/5375/comments","review_comment_url":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/5375/comments","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/4c77ce607e775c03172a2f6cb340a08f8e9ed0ac","head":{"label":"catchmyfame:fix/5256-sitemap","ref":"fix/5256-sitemap","sha":"4c77ce607e775c03172a2f6cb340a08f8e9ed0ac","user":{"login":"catchmyfame","id":78397,"avatar_url":"https://avatars.githubusercontent.com/u/78397?v=3","gravatar_id":"","url":"https://api.github.com/users/catchmyfame","html_url":"https://github.com/catchmyfame","followers_url":"https://api.github.com/users/catchmyfame/followers","following_url":"https://api.github.com/users/catchmyfame/following{/other_user}","gists_url":"https://api.github.com/users/catchmyfame/gists{/gist_id}","starred_url":"https://api.github.com/users/catchmyfame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catchmyfame/subscriptions","organizations_url":"https://api.github.com/users/catchmyfame/orgs","repos_url":"https://api.github.com/users/catchmyfame/repos","events_url":"https://api.github.com/users/catchmyfame/events{/privacy}","received_events_url":"https://api.github.com/users/catchmyfame/received_events","type":"User","site_admin":false},"repo":{"id":71388153,"name":"jetpack","full_name":"catchmyfame/jetpack","owner":{"login":"catchmyfame","id":78397,"avatar_url":"https://avatars.githubusercontent.com/u/78397?v=3","gravatar_id":"","url":"https://api.github.com/users/catchmyfame","html_url":"https://github.com/catchmyfame","followers_url":"https://api.github.com/users/catchmyfame/followers","following_url":"https://api.github.com/users/catchmyfame/following{/other_user}","gists_url":"https://api.github.com/users/catchmyfame/gists{/gist_id}","starred_url":"https://api.github.com/users/catchmyfame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catchmyfame/subscriptions","organizations_url":"https://api.github.com/users/catchmyfame/orgs","repos_url":"https://api.github.com/users/catchmyfame/repos","events_url":"https://api.github.com/users/catchmyfame/events{/privacy}","received_events_url":"https://api.github.com/users/catchmyfame/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/catchmyfame/jetpack","description":"Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.","fork":true,"url":"https://api.github.com/repos/catchmyfame/jetpack","forks_url":"https://api.github.com/repos/catchmyfame/jetpack/forks","keys_url":"https://api.github.com/repos/catchmyfame/jetpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catchmyfame/jetpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catchmyfame/jetpack/teams","hooks_url":"https://api.github.com/repos/catchmyfame/jetpack/hooks","issue_events_url":"https://api.github.com/repos/catchmyfame/jetpack/issues/events{/number}","events_url":"https://api.github.com/repos/catchmyfame/jetpack/events","assignees_url":"https://api.github.com/repos/catchmyfame/jetpack/assignees{/user}","branches_url":"https://api.github.com/repos/catchmyfame/jetpack/branches{/branch}","tags_url":"https://api.github.com/repos/catchmyfame/jetpack/tags","blobs_url":"https://api.github.com/repos/catchmyfame/jetpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catchmyfame/jetpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catchmyfame/jetpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/catchmyfame/jetpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catchmyfame/jetpack/statuses/{sha}","languages_url":"https://api.github.com/repos/catchmyfame/jetpack/languages","stargazers_url":"https://api.github.com/repos/catchmyfame/jetpack/stargazers","contributors_url":"https://api.github.com/repos/catchmyfame/jetpack/contributors","subscribers_url":"https://api.github.com/repos/catchmyfame/jetpack/subscribers","subscription_url":"https://api.github.com/repos/catchmyfame/jetpack/subscription","commits_url":"https://api.github.com/repos/catchmyfame/jetpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/catchmyfame/jetpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/catchmyfame/jetpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/catchmyfame/jetpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/catchmyfame/jetpack/contents/{+path}","compare_url":"https://api.github.com/repos/catchmyfame/jetpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catchmyfame/jetpack/merges","archive_url":"https://api.github.com/repos/catchmyfame/jetpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catchmyfame/jetpack/downloads","issues_url":"https://api.github.com/repos/catchmyfame/jetpack/issues{/number}","pulls_url":"https://api.github.com/repos/catchmyfame/jetpack/pulls{/number}","milestones_url":"https://api.github.com/repos/catchmyfame/jetpack/milestones{/number}","notifications_url":"https://api.github.com/repos/catchmyfame/jetpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catchmyfame/jetpack/labels{/name}","releases_url":"https://api.github.com/repos/catchmyfame/jetpack/releases{/id}","deployments_url":"https://api.github.com/repos/catchmyfame/jetpack/deployments","created_at":"2016-10-19T18:38:29Z","updated_at":"2016-10-19T18:38:34Z","pushed_at":"2016-10-19T18:48:09Z","git_url":"git://github.com/catchmyfame/jetpack.git","ssh_url":"git@github.com:catchmyfame/jetpack.git","clone_url":"https://github.com/catchmyfame/jetpack.git","svn_url":"https://github.com/catchmyfame/jetpack","homepage":"http://jetpack.com","size":184214,"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":"Automattic:master","ref":"master","sha":"1801d53f3c05de1e7eb32aabd1be0aa7901ed4a7","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":15231212,"name":"jetpack","full_name":"Automattic/jetpack","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/jetpack","description":"Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.","fork":false,"url":"https://api.github.com/repos/Automattic/jetpack","forks_url":"https://api.github.com/repos/Automattic/jetpack/forks","keys_url":"https://api.github.com/repos/Automattic/jetpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/jetpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/jetpack/teams","hooks_url":"https://api.github.com/repos/Automattic/jetpack/hooks","issue_events_url":"https://api.github.com/repos/Automattic/jetpack/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/jetpack/events","assignees_url":"https://api.github.com/repos/Automattic/jetpack/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/jetpack/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/jetpack/tags","blobs_url":"https://api.github.com/repos/Automattic/jetpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/jetpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/jetpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/jetpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/jetpack/languages","stargazers_url":"https://api.github.com/repos/Automattic/jetpack/stargazers","contributors_url":"https://api.github.com/repos/Automattic/jetpack/contributors","subscribers_url":"https://api.github.com/repos/Automattic/jetpack/subscribers","subscription_url":"https://api.github.com/repos/Automattic/jetpack/subscription","commits_url":"https://api.github.com/repos/Automattic/jetpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/jetpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/jetpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/jetpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/jetpack/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/jetpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/jetpack/merges","archive_url":"https://api.github.com/repos/Automattic/jetpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/jetpack/downloads","issues_url":"https://api.github.com/repos/Automattic/jetpack/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/jetpack/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/jetpack/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/jetpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/jetpack/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/jetpack/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/jetpack/deployments","created_at":"2013-12-16T16:43:01Z","updated_at":"2016-11-04T14:47:16Z","pushed_at":"2016-11-09T19:38:50Z","git_url":"git://github.com/Automattic/jetpack.git","ssh_url":"git@github.com:Automattic/jetpack.git","clone_url":"https://github.com/Automattic/jetpack.git","svn_url":"https://github.com/Automattic/jetpack","homepage":"https://jetpack.com/","size":306057,"stargazers_count":580,"watchers_count":580,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":357,"mirror_url":null,"open_issues_count":811,"forks":357,"open_issues":811,"watchers":580,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/5375"},"html":{"href":"https://github.com/Automattic/jetpack/pull/5375"},"issue":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/5375"},"comments":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/5375/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/5375/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/5375/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/jetpack/statuses/4c77ce607e775c03172a2f6cb340a08f8e9ed0ac"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"samhotchkiss","id":574752,"avatar_url":"https://avatars.githubusercontent.com/u/574752?v=3","gravatar_id":"","url":"https://api.github.com/users/samhotchkiss","html_url":"https://github.com/samhotchkiss","followers_url":"https://api.github.com/users/samhotchkiss/followers","following_url":"https://api.github.com/users/samhotchkiss/following{/other_user}","gists_url":"https://api.github.com/users/samhotchkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/samhotchkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhotchkiss/subscriptions","organizations_url":"https://api.github.com/users/samhotchkiss/orgs","repos_url":"https://api.github.com/users/samhotchkiss/repos","events_url":"https://api.github.com/users/samhotchkiss/events{/privacy}","received_events_url":"https://api.github.com/users/samhotchkiss/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"commits":1,"additions":10,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"samhotchkiss"}}