Skip to content

Is there a reason not to use escapeshellarg in Process #29469

Closed
@tomasfejfar

Description

@tomasfejfar

I've noticed that \Symfony\Component\Process\Process::escapeArgument does not use php's native escapeshellarg function, but rather implements escaping in userland. That does not take advantage of potential security fixes in PHP itself.

Is there a reason why it's not using it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions