{"action":"created","issue":{"url":"https://api.github.com/repos/snarfed/wordpress-micropub/issues/69","repository_url":"https://api.github.com/repos/snarfed/wordpress-micropub","labels_url":"https://api.github.com/repos/snarfed/wordpress-micropub/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/snarfed/wordpress-micropub/issues/69/comments","events_url":"https://api.github.com/repos/snarfed/wordpress-micropub/issues/69/events","html_url":"https://github.com/snarfed/wordpress-micropub/issues/69","id":244915420,"number":69,"title":"Missing Location Header","user":{"login":"miklb","id":819716,"avatar_url":"https://avatars0.githubusercontent.com/u/819716?v=4","gravatar_id":"","url":"https://api.github.com/users/miklb","html_url":"https://github.com/miklb","followers_url":"https://api.github.com/users/miklb/followers","following_url":"https://api.github.com/users/miklb/following{/other_user}","gists_url":"https://api.github.com/users/miklb/gists{/gist_id}","starred_url":"https://api.github.com/users/miklb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miklb/subscriptions","organizations_url":"https://api.github.com/users/miklb/orgs","repos_url":"https://api.github.com/users/miklb/repos","events_url":"https://api.github.com/users/miklb/events{/privacy}","received_events_url":"https://api.github.com/users/miklb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-23T14:59:07Z","updated_at":"2017-07-24T14:06:12Z","closed_at":null,"body":"Trying to post an image from Quill while traveling I got an error.\r\n\r\n`400 Bad Request` \r\n\r\n```\r\n{\"error\": \"invalid_request\", \"error_description\": \"Sorry, this file type is not permitted for security reasons.\"}\r\n```\r\n\r\nIs this something with my server config or an issue with the plugin? Thanks!\r\n\r\n![img_4300](https://user-images.githubusercontent.com/819716/28500414-d8ae3c58-6f95-11e7-9c22-e562b3c85cbc.jpg)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/snarfed/wordpress-micropub/issues/comments/317433271","html_url":"https://github.com/snarfed/wordpress-micropub/issues/69#issuecomment-317433271","issue_url":"https://api.github.com/repos/snarfed/wordpress-micropub/issues/69","id":317433271,"user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars2.githubusercontent.com/u/778068?v=4","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"created_at":"2017-07-24T14:06:12Z","updated_at":"2017-07-24T14:06:12Z","body":"this error comes from wordpress itself, inside `media_handle_upload()`, not from the micropub plugin. i believe it has a whitelist of file extensions: https://codex.wordpress.org/Uploading_Files#About_Uploading_Files_on_Dashboard . `jpg` is definitely in the whitelist; maybe your file had a different extension?"}}
{"actor":{"display_login":"snarfed"}}