Skip to content

Special characters in file paths not being escaped #40

@SirRawlins

Description

@SirRawlins

Hello Guys,

Got caught out this afternoon by a file which was called 'example (1).pdf' whereby the path is not escaped before sending to bash and therefore throws a syntax error.

I'm proposing that all commands are sanitised/escaped before being sent to bash to prevent this from happening in future.

If other people are happy this is the way to go I'll wrap up a pull-request with the fixes.

Robert

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