8000 Properly handle file paths · Issue #343 · mjmlio/mjml-app · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Properly handle file paths #343
Closed
Closed
@Voltra

Description

@Voltra

Describe the bug
Using a path that includes & (maybe spaces too) causes the app to not be able to open files and leaves a blank editor.

To Reproduce
Steps to reproduce the behavior:

  1. Create a project with a path like D:\pro\R&D as the containing folder (any project name will work)
  2. Choose any template
  3. The editor will be empty and shows ENOENT errors in the console (e.g. no such file or directory, scandir D:\pro\R)

Expected behavior
Expects to open up just like any path that doesn't contain &.

Screenshots
Unexpected behavior

Environment (please complete the following information):

  • OS: Windows 10
  • App Version: v3.0.3

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerGreat issue for first contribution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0