{"action":"created","issue":{"url":"https://api.github.com/repos/avakarev/mailcatcher-api/issues/1","labels_url":"https://api.github.com/repos/avakarev/mailcatcher-api/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/avakarev/mailcatcher-api/issues/1/comments","events_url":"https://api.github.com/repos/avakarev/mailcatcher-api/issues/1/events","html_url":"https://github.com/avakarev/mailcatcher-api/pull/1","id":92172035,"number":1,"title":"Extract links from decoded_body instead of raw body","user":{"login":"almostwhitehat","id":4925371,"avatar_url":"https://avatars.githubusercontent.com/u/4925371?v=3","gravatar_id":"","url":"https://api.github.com/users/almostwhitehat","html_url":"https://github.com/almostwhitehat","followers_url":"https://api.github.com/users/almostwhitehat/followers","following_url":"https://api.github.com/users/almostwhitehat/following{/other_user}","gists_url":"https://api.github.com/users/almostwhitehat/gists{/gist_id}","starred_url":"https://api.github.com/users/almostwhitehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almostwhitehat/subscriptions","organizations_url":"https://api.github.com/users/almostwhitehat/orgs","repos_url":"https://api.github.com/users/almostwhitehat/repos","events_url":"https://api.github.com/users/almostwhitehat/events{/privacy}","received_events_url":"https://api.github.com/users/almostwhitehat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T18:57:20Z","updated_at":"2015-08-24T16:36:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/avakarev/mailcatcher-api/pulls/1","html_url":"https://github.com/avakarev/mailcatcher-api/pull/1","diff_url":"https://github.com/avakarev/mailcatcher-api/pull/1.diff","patch_url":"https://github.com/avakarev/mailcatcher-api/pull/1.patch"},"body":"If a URL in the body of the email was split to multiple lines, URI.extract was not extracting the full URL."},"comment":{"url":"https://api.github.com/repos/avakarev/mailcatcher-api/issues/comments/134293028","html_url":"https://github.com/avakarev/mailcatcher-api/pull/1#issuecomment-134293028","issue_url":"https://api.github.com/repos/avakarev/mailcatcher-api/issues/1","id":134293028,"user":{"login":"almostwhitehat","id":4925371,"avatar_url":"https://avatars.githubusercontent.com/u/4925371?v=3","gravatar_id":"","url":"https://api.github.com/users/almostwhitehat","html_url":"https://github.com/almostwhitehat","followers_url":"https://api.github.com/users/almostwhitehat/followers","following_url":"https://api.github.com/users/almostwhitehat/following{/other_user}","gists_url":"https://api.github.com/users/almostwhitehat/gists{/gist_id}","starred_url":"https://api.github.com/users/almostwhitehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almostwhitehat/subscriptions","organizations_url":"https://api.github.com/users/almostwhitehat/orgs","repos_url":"https://api.github.com/users/almostwhitehat/repos","events_url":"https://api.github.com/users/almostwhitehat/events{/privacy}","received_events_url":"https://api.github.com/users/almostwhitehat/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T16:36:57Z","updated_at":"2015-08-24T16:36:57Z","body":"Sure thing! The original solution of using gsub to remove \"\\r\\n\" handled most instances of links not being parsed out properly, but there were still some Quoted-printable artifacts in the body causing issues (mostly instances of \"=3D\") so instead of trying to handle everything with gsubbing, I switched to Mail's Body#decoded"}}