{"action":"created","issue":{"url":"https://api.github.com/repos/willnorris/imageproxy/issues/164","repository_url":"https://api.github.com/repos/willnorris/imageproxy","labels_url":"https://api.github.com/repos/willnorris/imageproxy/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/willnorris/imageproxy/issues/164/comments","events_url":"https://api.github.com/repos/willnorris/imageproxy/issues/164/events","html_url":"https://github.com/willnorris/imageproxy/issues/164","id":369875573,"node_id":"MDU6SXNzdWUzNjk4NzU1NzM=","number":164,"title":"Latest docker release 'forbidden content-type' error","user":{"login":"andybets","id":10956619,"node_id":"MDQ6VXNlcjEwOTU2NjE5","avatar_url":"https://avatars3.githubusercontent.com/u/10956619?v=4","gravatar_id":"","url":"https://api.github.com/users/andybets","html_url":"https://github.com/andybets","followers_url":"https://api.github.com/users/andybets/followers","following_url":"https://api.github.com/users/andybets/following{/other_user}","gists_url":"https://api.github.com/users/andybets/gists{/gist_id}","starred_url":"https://api.github.com/users/andybets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andybets/subscriptions","organizations_url":"https://api.github.com/users/andybets/orgs","repos_url":"https://api.github.com/users/andybets/repos","events_url":"https://api.github.com/users/andybets/events{/privacy}","received_events_url":"https://api.github.com/users/andybets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-14T07:20:45Z","updated_at":"2018-10-14T10:49:01Z","closed_at":null,"author_association":"NONE","body":"I've been using imageproxy for a while now without issues, but when upgrading to the new docker release, the following query doesn't work anymore:\r\n`/50/https://identicon-api.herokuapp.com/bitfinexcw55/50?format=png`\r\n\r\nI get `forbidden content-type: \"application/octet-stream\"`.\r\n\r\nThanks for the great work on this by the way!"},"comment":{"url":"https://api.github.com/repos/willnorris/imageproxy/issues/comments/429616372","html_url":"https://github.com/willnorris/imageproxy/issues/164#issuecomment-429616372","issue_url":"https://api.github.com/repos/willnorris/imageproxy/issues/164","id":429616372,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYxNjM3Mg==","user":{"login":"daohoangson","id":239336,"node_id":"MDQ6VXNlcjIzOTMzNg==","avatar_url":"https://avatars3.githubusercontent.com/u/239336?v=4","gravatar_id":"","url":"https://api.github.com/users/daohoangson","html_url":"https://github.com/daohoangson","followers_url":"https://api.github.com/users/daohoangson/followers","following_url":"https://api.github.com/users/daohoangson/following{/other_user}","gists_url":"https://api.github.com/users/daohoangson/gists{/gist_id}","starred_url":"https://api.github.com/users/daohoangson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daohoangson/subscriptions","organizations_url":"https://api.github.com/users/daohoangson/orgs","repos_url":"https://api.github.com/users/daohoangson/repos","events_url":"https://api.github.com/users/daohoangson/events{/privacy}","received_events_url":"https://api.github.com/users/daohoangson/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T10:49:01Z","updated_at":"2018-10-14T10:49:01Z","author_association":"CONTRIBUTOR","body":"That happened because imageproxy now validates http response content type before processing. By default, it will reject anything that is not `image/*`. See here https://github.com/willnorris/imageproxy#allowed-content-type-list.\r\n\r\nYou can disable the check easily though:\r\n\r\n> Set the flag to an empty string to proxy all requests, regardless of content type."}}
{"actor":{"display_login":"daohoangson"}}