{"action":"created","issue":{"url":"https://api.github.com/repos/jaimeiniesta/metainspectordemo/issues/2","labels_url":"https://api.github.com/repos/jaimeiniesta/metainspectordemo/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jaimeiniesta/metainspectordemo/issues/2/comments","events_url":"https://api.github.com/repos/jaimeiniesta/metainspectordemo/issues/2/events","html_url":"https://github.com/jaimeiniesta/metainspectordemo/pull/2","id":59085133,"number":2,"title":"[#1] Use placeholder instead of value to prevent 'http://' only","user":{"login":"marceloboeira","id":1898225,"avatar_url":"https://avatars.githubusercontent.com/u/1898225?v=3","gravatar_id":"","url":"https://api.github.com/users/marceloboeira","html_url":"https://github.com/marceloboeira","followers_url":"https://api.github.com/users/marceloboeira/followers","following_url":"https://api.github.com/users/marceloboeira/following{/other_user}","gists_url":"https://api.github.com/users/marceloboeira/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloboeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloboeira/subscriptions","organizations_url":"https://api.github.com/users/marceloboeira/orgs","repos_url":"https://api.github.com/users/marceloboeira/repos","events_url":"https://api.github.com/users/marceloboeira/events{/privacy}","received_events_url":"https://api.github.com/users/marceloboeira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T15:05:12Z","updated_at":"2015-02-26T15:06:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jaimeiniesta/metainspectordemo/pulls/2","html_url":"https://github.com/jaimeiniesta/metainspectordemo/pull/2","diff_url":"https://github.com/jaimeiniesta/metainspectordemo/pull/2.diff","patch_url":"https://github.com/jaimeiniesta/metainspectordemo/pull/2.patch"},"body":"@jaimeiniesta the problem happens when the `params[:url]` has only the `http://`, it raises the following error:\r\n\r\n```\r\nAddressable::URI::InvalidURIError - Absolute URI missing hierarchical segment: 'http://':\r\n```\r\n\r\nI believe the best way to handle, would be just change the value for place holder.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jaimeiniesta/metainspectordemo/issues/comments/76193385","html_url":"https://github.com/jaimeiniesta/metainspectordemo/pull/2#issuecomment-76193385","issue_url":"https://api.github.com/repos/jaimeiniesta/metainspectordemo/issues/2","id":76193385,"user":{"login":"marceloboeira","id":1898225,"avatar_url":"https://avatars.githubusercontent.com/u/1898225?v=3","gravatar_id":"","url":"https://api.github.com/users/marceloboeira","html_url":"https://github.com/marceloboeira","followers_url":"https://api.github.com/users/marceloboeira/followers","following_url":"https://api.github.com/users/marceloboeira/following{/other_user}","gists_url":"https://api.github.com/users/marceloboeira/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloboeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloboeira/subscriptions","organizations_url":"https://api.github.com/users/marceloboeira/orgs","repos_url":"https://api.github.com/users/marceloboeira/repos","events_url":"https://api.github.com/users/marceloboeira/events{/privacy}","received_events_url":"https://api.github.com/users/marceloboeira/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T15:06:02Z","updated_at":"2015-02-26T15:06:02Z","body":"@jaimeiniesta you could even check if `params[:url]` is equal to `http://` but I don't believe to be needed."}}