{"action":"created","issue":{"url":"https://api.github.com/repos/silverbucket/webfinger.js/issues/14","labels_url":"https://api.github.com/repos/silverbucket/webfinger.js/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/silverbucket/webfinger.js/issues/14/comments","events_url":"https://api.github.com/repos/silverbucket/webfinger.js/issues/14/events","html_url":"https://github.com/silverbucket/webfinger.js/issues/14","id":115295983,"number":14,"title":"isLocalhost behavior and HTTPS","user":{"login":"fkooman","id":616885,"avatar_url":"https://avatars.githubusercontent.com/u/616885?v=3","gravatar_id":"","url":"https://api.github.com/users/fkooman","html_url":"https://github.com/fkooman","followers_url":"https://api.github.com/users/fkooman/followers","following_url":"https://api.github.com/users/fkooman/following{/other_user}","gists_url":"https://api.github.com/users/fkooman/gists{/gist_id}","starred_url":"https://api.github.com/users/fkooman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkooman/subscriptions","organizations_url":"https://api.github.com/users/fkooman/orgs","repos_url":"https://api.github.com/users/fkooman/repos","events_url":"https://api.github.com/users/fkooman/events{/privacy}","received_events_url":"https://api.github.com/users/fkooman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-05T14:32:46Z","updated_at":"2015-11-07T10:35:10Z","closed_at":"2015-11-07T10:35:10Z","body":"We are running into an issue with Webfinger and remoteStorage where a Vagrant instance is (using port forwarding) running on `https://localhost:8443` and `http://localhost:8480`. The `isLocalhost` check recognizes this a being a localhost connection and then uses (always) HTTP. This does not work in this instance when using the identity `foo@localhost:8443`. \r\n\r\nIs/was there a reason to do this? Do you have any ideas on how to fix this?\r\n\r\nUpdate: what was the rationale to have this `isLocalhost` check in the first place? Can it maybe be removed?"},"comment":{"url":"https://api.github.com/repos/silverbucket/webfinger.js/issues/comments/154690274","html_url":"https://github.com/silverbucket/webfinger.js/issues/14#issuecomment-154690274","issue_url":"https://api.github.com/repos/silverbucket/webfinger.js/issues/14","id":154690274,"user":{"login":"fkooman","id":616885,"avatar_url":"https://avatars.githubusercontent.com/u/616885?v=3","gravatar_id":"","url":"https://api.github.com/users/fkooman","html_url":"https://github.com/fkooman","followers_url":"https://api.github.com/users/fkooman/followers","following_url":"https://api.github.com/users/fkooman/following{/other_user}","gists_url":"https://api.github.com/users/fkooman/gists{/gist_id}","starred_url":"https://api.github.com/users/fkooman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkooman/subscriptions","organizations_url":"https://api.github.com/users/fkooman/orgs","repos_url":"https://api.github.com/users/fkooman/repos","events_url":"https://api.github.com/users/fkooman/events{/privacy}","received_events_url":"https://api.github.com/users/fkooman/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T10:35:10Z","updated_at":"2015-11-07T10:35:10Z","body":"Yeah sure, I guess no longer relevant. It still bugs me somewhat that there is 'development' code in the 'production' flow :)"}}