{"action":"opened","issue":{"url":"https://api.github.com/repos/discordlinux/support/issues/10","repository_url":"https://api.github.com/repos/discordlinux/support","labels_url":"https://api.github.com/repos/discordlinux/support/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/discordlinux/support/issues/10/comments","events_url":"https://api.github.com/repos/discordlinux/support/issues/10/events","html_url":"https://github.com/discordlinux/support/issues/10","id":318735773,"number":10,"title":"\"Link Preview\" feature will chain crash a discord channel if something is linked which is blocked in the hosts file","user":{"login":"quimbydogg","id":1784569,"avatar_url":"https://avatars3.githubusercontent.com/u/1784569?v=4","gravatar_id":"","url":"https://api.github.com/users/quimbydogg","html_url":"https://github.com/quimbydogg","followers_url":"https://api.github.com/users/quimbydogg/followers","following_url":"https://api.github.com/users/quimbydogg/following{/other_user}","gists_url":"https://api.github.com/users/quimbydogg/gists{/gist_id}","starred_url":"https://api.github.com/users/quimbydogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quimbydogg/subscriptions","organizations_url":"https://api.github.com/users/quimbydogg/orgs","repos_url":"https://api.github.com/users/quimbydogg/repos","events_url":"https://api.github.com/users/quimbydogg/events{/privacy}","received_events_url":"https://api.github.com/users/quimbydogg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-29T17:50:47Z","updated_at":"2018-04-29T17:50:47Z","closed_at":null,"author_association":"NONE","body":"## Discord Username\r\nquimby#0414\r\n\r\n## Expected Behavior\r\n\r\nIf \"Link Preview\" feature is enabled and a URL linked by someone has an error, the client should \"handle that\": either by displaying a preview of the error or simply not displaying a preview for that specific URL.  The key behavior would be that the channel does not crash when the URL is received with the \"Link Preview\" feature enabled.\r\n\r\n## Actual Behavior\r\n\r\nWhen a URL is blocked via hosts file and someone in a Discord channel links to the blocked domain the Discord channel will crash trying to preview the link.  When the channel reloads it will instantly crash again trying to preview the link.  I was only able to stop the channel crashing by disabling the \"Link Preview\" option.\r\n\r\n## Steps to Reproduce the Problem\r\n\r\n  1. Block URL (such as open.spotify.com) within hosts file by re-directing home (127.0.0.1).\r\n  2. Receive Discord message from someone in channel which is at that URL with \"Link Preview\" enabled\r\n\r\n## Specifications\r\n\r\n  - Platform: Gentoo 4.16.5\r\n"}}
{"actor":{"display_login":"quimbydogg"}}