{"action":"closed","issue":{"url":"https://api.github.com/repos/lordelph/icofileloader/issues/7","repository_url":"https://api.github.com/repos/lordelph/icofileloader","labels_url":"https://api.github.com/repos/lordelph/icofileloader/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/lordelph/icofileloader/issues/7/comments","events_url":"https://api.github.com/repos/lordelph/icofileloader/issues/7/events","html_url":"https://github.com/lordelph/icofileloader/issues/7","id":202773803,"number":7,"title":"Support loading PNG as if it was an ICO file","user":{"login":"lordelph","id":444004,"avatar_url":"https://avatars.githubusercontent.com/u/444004?v=3","gravatar_id":"","url":"https://api.github.com/users/lordelph","html_url":"https://github.com/lordelph","followers_url":"https://api.github.com/users/lordelph/followers","following_url":"https://api.github.com/users/lordelph/following{/other_user}","gists_url":"https://api.github.com/users/lordelph/gists{/gist_id}","starred_url":"https://api.github.com/users/lordelph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordelph/subscriptions","organizations_url":"https://api.github.com/users/lordelph/orgs","repos_url":"https://api.github.com/users/lordelph/repos","events_url":"https://api.github.com/users/lordelph/events{/privacy}","received_events_url":"https://api.github.com/users/lordelph/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"lordelph","id":444004,"avatar_url":"https://avatars.githubusercontent.com/u/444004?v=3","gravatar_id":"","url":"https://api.github.com/users/lordelph","html_url":"https://github.com/lordelph","followers_url":"https://api.github.com/users/lordelph/followers","following_url":"https://api.github.com/users/lordelph/following{/other_user}","gists_url":"https://api.github.com/users/lordelph/gists{/gist_id}","starred_url":"https://api.github.com/users/lordelph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordelph/subscriptions","organizations_url":"https://api.github.com/users/lordelph/orgs","repos_url":"https://api.github.com/users/lordelph/repos","events_url":"https://api.github.com/users/lordelph/events{/privacy}","received_events_url":"https://api.github.com/users/lordelph/received_events","type":"User","site_admin":false},"assignees":[{"login":"lordelph","id":444004,"avatar_url":"https://avatars.githubusercontent.com/u/444004?v=3","gravatar_id":"","url":"https://api.github.com/users/lordelph","html_url":"https://github.com/lordelph","followers_url":"https://api.github.com/users/lordelph/followers","following_url":"https://api.github.com/users/lordelph/following{/other_user}","gists_url":"https://api.github.com/users/lordelph/gists{/gist_id}","starred_url":"https://api.github.com/users/lordelph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordelph/subscriptions","organizations_url":"https://api.github.com/users/lordelph/orgs","repos_url":"https://api.github.com/users/lordelph/repos","events_url":"https://api.github.com/users/lordelph/events{/privacy}","received_events_url":"https://api.github.com/users/lordelph/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-01-24T10:06:15Z","updated_at":"2017-01-24T11:12:56Z","closed_at":"2017-01-24T11:12:56Z","body":"Having seen some favicon.ico files delivered with a MIME type of `image/x-icon` or `image/vnd.microsoft.icon`, I think the parser should cope, particular as it copes with PNG properly embedded in an icon.\r\n\r\nHere's an example (from sciencedirect.com)\r\n\r\n```bash\r\n# fetch 'ico' file, get proper MIME type...\r\n$ curl -O -v http://cdn.els-cdn.com/sd/favSD.ico\r\n> GET /sd/favSD.ico HTTP/1.1\r\n(snip)\r\n< Content-Type: image/x-icon\r\n\r\n#..and yet it is a PNG\r\n$ hexdump -C -n128 favSD.ico \r\n00000000  89 50 4e 47 0d 0a 1a 0a  00 00 00 0d 49 48 44 52  |.PNG........IHDR|\r\n00000010  00 00 00 10 00 00 00 10  08 03 00 00 00 28 2d 0f  |.............(-.|\r\n00000020  53 00 00 00 04 67 41 4d  41 00 00 b1 8f 0b fc 61  |S....gAMA......a|\r\n00000030  05 00 00 00 20 63 48 52  4d 00 00 7a 26 00 00 80  |.... cHRM..z&...|\r\n00000040  84 00 00 fa 00 00 00 80  e8 00 00 75 30 00 00 ea  |...........u0...|\r\n00000050  60 00 00 3a 98 00 00 17  70 9c ba 51 3c 00 00 01  |`..:....p..Q<...|\r\n00000060  62 50 4c 54 45 f5 82 20  00 00 00 f5 82 20 f5 82  |bPLTE.. ..... ..|\r\n00000070  20 f5 82 20 f5 82 20 f5  82 20 f5 82 20 f5 82 20  | .. .. .. .. .. |\r\n```"}}
{"actor":{"display_login":"lordelph"}}