{"action":"created","issue":{"url":"https://api.github.com/repos/enyo/dropzone/issues/948","labels_url":"https://api.github.com/repos/enyo/dropzone/issues/948/labels{/name}","comments_url":"https://api.github.com/repos/enyo/dropzone/issues/948/comments","events_url":"https://api.github.com/repos/enyo/dropzone/issues/948/events","html_url":"https://github.com/enyo/dropzone/issues/948","id":79567093,"number":948,"title":"AcceptedFiles reverse","user":{"login":"YuccaOne","id":944453,"avatar_url":"https://avatars.githubusercontent.com/u/944453?v=3","gravatar_id":"","url":"https://api.github.com/users/YuccaOne","html_url":"https://github.com/YuccaOne","followers_url":"https://api.github.com/users/YuccaOne/followers","following_url":"https://api.github.com/users/YuccaOne/following{/other_user}","gists_url":"https://api.github.com/users/YuccaOne/gists{/gist_id}","starred_url":"https://api.github.com/users/YuccaOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuccaOne/subscriptions","organizations_url":"https://api.github.com/users/YuccaOne/orgs","repos_url":"https://api.github.com/users/YuccaOne/repos","events_url":"https://api.github.com/users/YuccaOne/events{/privacy}","received_events_url":"https://api.github.com/users/YuccaOne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T18:49:43Z","updated_at":"2015-06-29T17:22:25Z","closed_at":null,"body":"Hi,\r\nIs it a way to accept all files or all files without some extension ?\r\nI try with * for all, but it doesn't work. In addition, can I do (example) :\r\n- acceptedFiles : '*'\r\n- disallowedFiles : '.doc'\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/enyo/dropzone/issues/comments/116767559","html_url":"https://github.com/enyo/dropzone/issues/948#issuecomment-116767559","issue_url":"https://api.github.com/repos/enyo/dropzone/issues/948","id":116767559,"user":{"login":"caycek","id":9340125,"avatar_url":"https://avatars.githubusercontent.com/u/9340125?v=3","gravatar_id":"","url":"https://api.github.com/users/caycek","html_url":"https://github.com/caycek","followers_url":"https://api.github.com/users/caycek/followers","following_url":"https://api.github.com/users/caycek/following{/other_user}","gists_url":"https://api.github.com/users/caycek/gists{/gist_id}","starred_url":"https://api.github.com/users/caycek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caycek/subscriptions","organizations_url":"https://api.github.com/users/caycek/orgs","repos_url":"https://api.github.com/users/caycek/repos","events_url":"https://api.github.com/users/caycek/events{/privacy}","received_events_url":"https://api.github.com/users/caycek/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T17:22:25Z","updated_at":"2015-06-29T17:22:25Z","body":"You can't do this with normal params. Check out this answer and the one below it is enyo's direct answer to a similar type of question. \r\n\r\n[Stack Overflow](http://stackoverflow.com/questions/17012055/dropzone-js-image-upload-acceptedmimetypes/17275873#17275873). \r\n\r\nI'm doing it a similar way, but I am using type and not worried about extension.\r\n\r\n```javascript\r\n if (!file.type.match(/image.*/)) {\r\n   dropzone.removeFile(file);\r\n}else {\r\n   test();\r\n}\r\n```"}}