[Bug]: File extension appended multiple times to file name when saving #35594
Labels
18-x-y
19-x-y
20-x-y
bug 🪲
platform/windows
status/confirmed
A maintainer reproduced the bug or agreed with the feature
Preflight Checklist
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
The text was updated successfully, but these errors were encountered: