Closed
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
20.1.1
All latest 18.x.y, 19.x.y and 20.x.y versions are affected.
What operating system are you using?
Windows
Operating System Version
Windows 10 Version 20H2
What arch are you using?
x64
Last Known Working Electron version
19.0.7
Expected Behavior
When saving/downloading a file, file name should be saved with the given file extension.
Actual Behavior
File extension is appended three times to file name with double dots, like:
<file_name>.<file_extension>..<file_extension>..<file_extension>
Issue happens for file extensions which are not in registry.
For file types which are in registry, file name is fine.
Testcase Gist URL
https://gist.github.com/dfa6a6e75b43e475f285df9e0f743650
Additional Information
Most likely related to the change #34723