Lib\Parser::validate() fails on paths containing whitespace #2647

Closed
gkuhlmann opened this Issue Dec 21, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@gkuhlmann

$file parameter is not properly escaped in line 129:

The line
exec("php -l $file 2>&1", $output, $code);

should probably read
exec("php -l " . escapeshellarg( $file ) . " 2>&1", $output, $code);

@Naktibalda

This comment has been minimized.

Show comment
Hide comment
@Naktibalda

Naktibalda Dec 21, 2015

Member

Could you fix it and make a pull request?

Member

Naktibalda commented Dec 21, 2015

Could you fix it and make a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment