{"action":"created","issue":{"url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller/issues/49","repository_url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller","labels_url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller/issues/49/comments","events_url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller/issues/49/events","html_url":"https://github.com/UKHomeOffice/passports-form-controller/pull/49","id":161665191,"number":49,"title":"Allow external links in redirects during failed validation","user":{"login":"gavboulton","id":3900826,"avatar_url":"https://avatars.githubusercontent.com/u/3900826?v=3","gravatar_id":"","url":"https://api.github.com/users/gavboulton","html_url":"https://github.com/gavboulton","followers_url":"https://api.github.com/users/gavboulton/followers","following_url":"https://api.github.com/users/gavboulton/following{/other_user}","gists_url":"https://api.github.com/users/gavboulton/gists{/gist_id}","starred_url":"https://api.github.com/users/gavboulton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavboulton/subscriptions","organizations_url":"https://api.github.com/users/gavboulton/orgs","repos_url":"https://api.github.com/users/gavboulton/repos","events_url":"https://api.github.com/users/gavboulton/events{/privacy}","received_events_url":"https://api.github.com/users/gavboulton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-22T12:10:17Z","updated_at":"2016-06-23T09:24:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller/pulls/49","html_url":"https://github.com/UKHomeOffice/passports-form-controller/pull/49","diff_url":"https://github.com/UKHomeOffice/passports-form-controller/pull/49.diff","patch_url":"https://github.com/UKHomeOffice/passports-form-controller/pull/49.patch"},"body":"When an app is mounted on a `baseUrl` and redirects when validation fails, the baseUrl is added to the `redirect` property when it isn't '/'. This shouldn't happen when redirecting to another site. Add a check for http/s when adding 'baseUrl' so that the redirect property isn't prefixed when the redirect is another site."},"comment":{"url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller/issues/comments/227995930","html_url":"https://github.com/UKHomeOffice/passports-form-controller/pull/49#issuecomment-227995930","issue_url":"https://api.github.com/repos/UKHomeOffice/passports-form-controller/issues/49","id":227995930,"user":{"login":"JoeChapman","id":1274835,"avatar_url":"https://avatars.githubusercontent.com/u/1274835?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeChapman","html_url":"https://github.com/JoeChapman","followers_url":"https://api.github.com/users/JoeChapman/followers","following_url":"https://api.github.com/users/JoeChapman/following{/other_user}","gists_url":"https://api.github.com/users/JoeChapman/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeChapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeChapman/subscriptions","organizations_url":"https://api.github.com/users/JoeChapman/orgs","repos_url":"https://api.github.com/users/JoeChapman/repos","events_url":"https://api.github.com/users/JoeChapman/events{/privacy}","received_events_url":"https://api.github.com/users/JoeChapman/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T09:24:05Z","updated_at":"2016-06-23T09:24:05Z","body":"Looking"}}
{"actor":{"display_login":"JoeChapman"}}