8000 [Bug]: File extension appended multiple times to file name when saving · Issue #35594 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: File extension appended multiple times to file name when saving #35594
Closed
@trippier1

Description

@trippier1

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0