Skip to content

[BUG] Open Download Location breaks on a comma in path #25

@MadameMinty

Description

@MadameMinty

Describe the bug
If download location contains a comma (e.g. R:\Comics, webcomics, clicking the Open Download Location button opens the default Windows Explorer location (My Documents). The space after comma is not the problem, e.g. R:\Comics webcomics opens correctly.

To Reproduce
Steps to reproduce the behavior:

  1. In Settings, set download location so it contains a comma, e.g. R:\Comics, webcomics
  2. Click on the Open Download Location button

Expected behavior
Open Download Location opens download location.

Desktop (please complete the following information):

  • OS: Windows 10
  • 1.5.4

Additional context
Perhaps
Process.Start("explorer.exe", path);
should be
Process.Start("explorer.exe", $"\"{path}\"");
?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions