{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/2609","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/2609/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/2609/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/2609/events","html_url":"https://github.com/Automattic/jetpack/pull/2609","id":103002163,"number":2609,"title":"Manage: Add wordpress.com to safe redirect whitelist","user":{"login":"ockham","id":96308,"avatar_url":"https://avatars.githubusercontent.com/u/96308?v=3","gravatar_id":"","url":"https://api.github.com/users/ockham","html_url":"https://github.com/ockham","followers_url":"https://api.github.com/users/ockham/followers","following_url":"https://api.github.com/users/ockham/following{/other_user}","gists_url":"https://api.github.com/users/ockham/gists{/gist_id}","starred_url":"https://api.github.com/users/ockham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ockham/subscriptions","organizations_url":"https://api.github.com/users/ockham/orgs","repos_url":"https://api.github.com/users/ockham/repos","events_url":"https://api.github.com/users/ockham/events{/privacy}","received_events_url":"https://api.github.com/users/ockham/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Manage","name":"Manage","color":"c7def8"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Needs%20Review","name":"Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"ockham","id":96308,"avatar_url":"https://avatars.githubusercontent.com/u/96308?v=3","gravatar_id":"","url":"https://api.github.com/users/ockham","html_url":"https://github.com/ockham","followers_url":"https://api.github.com/users/ockham/followers","following_url":"https://api.github.com/users/ockham/following{/other_user}","gists_url":"https://api.github.com/users/ockham/gists{/gist_id}","starred_url":"https://api.github.com/users/ockham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ockham/subscriptions","organizations_url":"https://api.github.com/users/ockham/orgs","repos_url":"https://api.github.com/users/ockham/repos","events_url":"https://api.github.com/users/ockham/events{/privacy}","received_events_url":"https://api.github.com/users/ockham/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/21","html_url":"https://github.com/Automattic/jetpack/milestones/3.7","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/21/labels","id":1138279,"number":21,"title":"3.7","description":"","creator":{"login":"kraftbj","id":88897,"avatar_url":"https://avatars.githubusercontent.com/u/88897?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"open_issues":176,"closed_issues":164,"state":"open","created_at":"2015-05-28T15:18:58Z","updated_at":"2015-08-25T11:24:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-25T11:24:43Z","updated_at":"2015-08-25T11:48:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/2609","html_url":"https://github.com/Automattic/jetpack/pull/2609","diff_url":"https://github.com/Automattic/jetpack/pull/2609.diff","patch_url":"https://github.com/Automattic/jetpack/pull/2609.patch"},"body":"This way, the customizer can return to wordpress.com if invoked from there, i.e. using the `return` query arg.\r\n\r\nTo test:\r\n1. Point your browser to\r\nhttps://<jetpacksite>/wp-admin/customize.php?theme=twentyfifteen&return=%2F%2Fwordpress.com\r\n2. Close the customizer using the top left 'X'\r\n3. Check you're being redirected to wordpress.com\r\n\r\nThis is required to fix what testers found to be an issue with the Jetpack-integrated Calypso Theme Showcase, see https://teamhyperion.wordpress.com/2015/08/20/call-for-testing-theme-showcase-jetpack-integration/#comment-2532 -- so it'd be great if we could get this into 3.7, since it's practically a fix for an issue found during 3.7-beta testing.\r\n\r\n/cc @ehg @folletto"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/134562101","html_url":"https://github.com/Automattic/jetpack/pull/2609#issuecomment-134562101","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/2609","id":134562101,"user":{"login":"zinigor","id":374293,"avatar_url":"https://avatars.githubusercontent.com/u/374293?v=3","gravatar_id":"","url":"https://api.github.com/users/zinigor","html_url":"https://github.com/zinigor","followers_url":"https://api.github.com/users/zinigor/followers","following_url":"https://api.github.com/users/zinigor/following{/other_user}","gists_url":"https://api.github.com/users/zinigor/gists{/gist_id}","starred_url":"https://api.github.com/users/zinigor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinigor/subscriptions","organizations_url":"https://api.github.com/users/zinigor/orgs","repos_url":"https://api.github.com/users/zinigor/repos","events_url":"https://api.github.com/users/zinigor/events{/privacy}","received_events_url":"https://api.github.com/users/zinigor/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T11:48:45Z","updated_at":"2015-08-25T11:48:45Z","body":"Looks good, tested - it works as expected with `wordpress.com` as well as with non-whitelisted domains. Meaning that the customizer does not redirect to other domains on exit."}}