Component modifies the file name giving an incorrect extra file extension
See original GitHub issueHi @Yuvaleros, thanks for this cool component
I found an issue while providing initialFiles as initialFiles={[
https://images.pexels.com/photos/1909603/pexels-photo-1909603.jpeg`]}` Dropzone component modifies the file name giving an incorrect extra extension. This is an unexpected behaviour
Are you guys able to fix this issue? Thanks a lot
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
A file is in a different format than its extension indicates in Excel
An issue with a file name extension might occur when a workbook that you are trying to open is unreadable and the contents...
Read more >Masquerading: Double File Extension, Sub-technique T1036 ...
Adversaries may abuse a double extension in the filename as a means of masquerading the true file type. A file name may include...
Read more >Filename extension - Wikipedia
A filename extension, file name extension or file extension is a suffix to the name of a computer file (e.g., .txt , .docx...
Read more >How do I change the extension of multiple files?
Try the command below, which is flexible with sub-directories. It will rename all .txt files under directory structure with a new extension. find...
Read more >How to get a file's extension in PHP? - Stack Overflow
The dot character is just another character in the main filename, and filenames can have multiple extensions, usually representing nested ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @mballeng91 ,
Thanks for your feedback.
I’ll check this once again, I think to know the cause of the issue and should be related to extensions not matching MIME types (like
jpeg
andjpg
both matchingimage/jpeg
).Have you got an example filename that’s causing you issues?
Hi @mballeng91 ,
You are right, although the changes have been merged they are yet to be published to
npm
, for now if you need to upgrade you can install the module directly fromGitHub
for release
v3.x
(the same also works with
yarn
)for release
v2.x
To see the differences between the 2 version see the CHANGELOG.
Thanks for your feedback and patience.