Skip to content

Argument with % is escaped #298

Open
@giaza

Description

@giaza

Hi, thank you for your amazing work.
I used your library to split a large pdf into single pages. The method burst did not worked right away because the % character in the pattern was escaped and substituted with a white space in the processOptions function at line 213 of file command.php.
So the output consisted of the last page only, as each page was overwriting the older.
Changing the statement from
$this->addArg('output', $filename, true);
to
$this->addArg('output', $filename, false);
solved the problem.
But probably It can cause other issues?

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