Skip to content

Composer and git bash deletes entire partition on windows in certain conditions #11568

@valentindragan

Description

@valentindragan

Composer version: 2.5.8 2023-06-09 17:13:21
Terminal: git Bash
OS: Windows 10

If i run the command
composer create-project symfony/framework-standard-edition my_project_name "2.8.*"
in E:/=projects
Partition E: gets wiped out due to the presence of the = sign in the folder name.
Every single file and folder except the current directory, even the newly created project folder, gets deleted following the command.
I couldn't reproduce this in other terminals except Git Bash.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions