-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix validation for mix of content types and exclusions #1386
base: master
Are you sure you want to change the base?
Fix validation for mix of content types and exclusions #1386
Conversation
Can you elaborate more how that change fixes the problem? That issue was closed and marked as fixed, so you should probably create a new issue or have that re-opened first so we know what the issue is that this PR is fixing. Can you provide steps to reproduce of the issue. |
You're adding a |
It doesn't add | to the end of the expression. The if condition in the loop is there for that reason, so there is no ending | |
@danialfarid Please look at fiddle from issue #1026: http://jsfiddle.net/sufius/k6ahsu1n/4/ to replicate the issue. Notice dropzone has the following attribute: Or go to your demo site and enter |
We've attempted testing things on your demo - https://angular-file-upload.appspot.com/, and we're confused why we're allowed to upload non-image files. (see screenshot) |
Do you have a scheduled release date for the enhancement tag you put on the PR? |
Could be a month. |
Any updates on this @danialfarid. It would be nice to not have to fork the project in order to have this working. |
I have changed the logic here for version angular2 and it might be ported back to version 1. |
I also still don't see what's the difference between this PR and the old code. How this PR gonna fix the issue? |
#1026