-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow form file input to accept other MIME types #6089
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6089 +/- ##
==========================================
- Coverage 54.65% 54.63% -0.02%
==========================================
Files 600 600
Lines 23940 23950 +10
Branches 2115 2117 +2
==========================================
+ Hits 13084 13085 +1
- Misses 10256 10265 +9
Partials 600 600
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
value: fileInfo | ||
}; | ||
|
||
this.$emit('onChange', data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way this could be used to do something malicious using a file with some executable code?
Closes #6088
Describe your changes:
Allow dev to specify
accept
attribute on form file inputs.json
files handling remains unchanged, but for now all other types are passed onto form callback without being read in.All Submissions:
Author Checklist
Reviewer Checklist