{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/9582","repository_url":"https://api.github.com/repos/Elgg/Elgg","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/9582/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/9582/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/9582/events","html_url":"https://github.com/Elgg/Elgg/issues/9582","id":143919363,"number":9582,"title":"How do handle embeds?","user":{"login":"hypeJunction","id":1202761,"avatar_url":"https://avatars.githubusercontent.com/u/1202761?v=3","gravatar_id":"","url":"https://api.github.com/users/hypeJunction","html_url":"https://github.com/hypeJunction","followers_url":"https://api.github.com/users/hypeJunction/followers","following_url":"https://api.github.com/users/hypeJunction/following{/other_user}","gists_url":"https://api.github.com/users/hypeJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/hypeJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypeJunction/subscriptions","organizations_url":"https://api.github.com/users/hypeJunction/orgs","repos_url":"https://api.github.com/users/hypeJunction/repos","events_url":"https://api.github.com/users/hypeJunction/events{/privacy}","received_events_url":"https://api.github.com/users/hypeJunction/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-28T07:44:01Z","updated_at":"2016-03-28T10:59:08Z","closed_at":null,"body":"#9572 breaks our embed logic, mainly because our embed logic is flawed in that it relies on URLs to never change.\r\n\r\nStrawman 1. Manually set icon/download URLs to use old handlers until we figure out a solution\r\nStrawman 2. We can allow non-expiring URLs in file service (either by setting very high expiration time, or no expiration time; removing the last updated check for certain URLs)\r\nStrawman 3. Use regex callbacks to replace URLs with dynamic equivalents\r\n"},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/202340683","html_url":"https://github.com/Elgg/Elgg/issues/9582#issuecomment-202340683","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/9582","id":202340683,"user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T10:59:08Z","updated_at":"2016-03-28T10:59:08Z","body":"Perpetual access to a file despite its access level has its use cases but I think is a bad idea for embeds, which embed real site entities. It's annoying when users break posts by hiding embedded images, but it's sometimes necessary. So I'm strongly in favor of 1 for now."}}