{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4116","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4116/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4116/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4116/events","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4116","id":156279003,"number":4116,"title":"Fix #4115: validate self hosted url, add https *and* http variants if scheme is unknown","user":{"login":"maxme","id":40213,"avatar_url":"https://avatars.githubusercontent.com/u/40213?v=3","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"daniloercoli","id":518232,"avatar_url":"https://avatars.githubusercontent.com/u/518232?v=3","gravatar_id":"","url":"https://api.github.com/users/daniloercoli","html_url":"https://github.com/daniloercoli","followers_url":"https://api.github.com/users/daniloercoli/followers","following_url":"https://api.github.com/users/daniloercoli/following{/other_user}","gists_url":"https://api.github.com/users/daniloercoli/gists{/gist_id}","starred_url":"https://api.github.com/users/daniloercoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniloercoli/subscriptions","organizations_url":"https://api.github.com/users/daniloercoli/orgs","repos_url":"https://api.github.com/users/daniloercoli/repos","events_url":"https://api.github.com/users/daniloercoli/events{/privacy}","received_events_url":"https://api.github.com/users/daniloercoli/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/milestones/60","html_url":"https://github.com/wordpress-mobile/WordPress-Android/milestones/5.4","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/milestones/60/labels","id":1630921,"number":60,"title":"5.4","description":"","creator":{"login":"maxme","id":40213,"avatar_url":"https://avatars.githubusercontent.com/u/40213?v=3","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":47,"state":"open","created_at":"2016-03-08T16:05:14Z","updated_at":"2016-05-26T06:38:32Z","due_on":"2016-05-29T22:00:00Z","closed_at":null},"comments":2,"created_at":"2016-05-23T13:21:00Z","updated_at":"2016-05-26T09:08:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/pulls/4116","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4116","diff_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4116.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4116.patch"},"body":"Fixes #4115 \r\nFixes #4114\r\n\r\nBefore the patch the following valid URL was not working:\r\n\r\n* `bia.is`\r\n\r\nAnd this invalid URL was crashing the app:\r\n\r\n* `hppt://bia.is`\r\n\r\nNote: Instead of autoremoving invalid scheme, we could throw and \"invalid URL\" exception and notify the user they made a typo (From the crash reports, it's always typo like `htt://`, `hppt://`, `htp://`, etc. so I think it's just better to fix it for the user).\r\n"},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/comments/221817734","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4116#issuecomment-221817734","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4116","id":221817734,"user":{"login":"maxme","id":40213,"avatar_url":"https://avatars.githubusercontent.com/u/40213?v=3","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T09:08:00Z","updated_at":"2016-05-26T09:08:00Z","body":"Some cleaning done in e2eb459  - note: the \"forced discovery by appending /xmlrpc.php\" is done [here](https://github.com/wordpress-mobile/WordPress-Android/blob/e2eb459c8ca77a76de4a15a981719d7c7619c84e/WordPress/src/main/java/org/xmlrpc/android/XMLRPCUtils.java#L250-L250) anyway."}}
{"actor":{"display_login":"maxme"}}