You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue with the ng2-file-upload library where MIME type validation is not functioning as expected. Specifically, I was able to upload a .wav file after renaming it to .pdf, which should not be allowed.
Actual Behavior:
When I renamed a .wav file to .pdf and uploaded it, the system accepted the file, and the MIME type detected was application/pdf, which is incorrect.
I encountered an issue with the ng2-file-upload library where MIME type validation is not functioning as expected. Specifically, I was able to upload a .wav file after renaming it to .pdf, which should not be allowed.
Actual Behavior:
When I renamed a .wav file to .pdf and uploaded it, the system accepted the file, and the MIME type detected was application/pdf, which is incorrect.
const uploader = new FileUploader({
url: 'api/endpoint',
allowedFileType: ['pdf'],
allowedMimeType: [ 'application/pdf',],
});
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: