Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

-output flag not handling paths with spaces  #32

@arichter-rescan360

Description

@arichter-rescan360

The mkdir call is being made with unquoted path arguments causing paths with spaces to break the directory creation.

EtcTool.cpp(824)
old:
sprintf_s(strCommand, "if not exist %s %s %s", path, ETC_MKDIR_COMMAND, path);
fix:
sprintf_s(strCommand, "if not exist "%s" %s "%s"", path, ETC_MKDIR_COMMAND, path);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions