Home » Testing » PHPUnit2 » Bug #6282
Invalid PHP syntax validation in Fileloader.php
Details
| Submitted | 2005-12-18 21:52 UTC |
|---|---|
| From | wired at evd dot ru |
| Assigned | sebastian |
| Status | Closed |
| Package | PHPUnit2 |
| PHP Version | 5.1.1 |
| OS | WinXP |
| Roadmaps | (Not assigned) |
Comments
[2005-12-18 21:52 UTC] wired at evd dot ru
Description:
------------
Line 89 of Fileloader.php:
$output = shell_exec('php -l ' . $filename);
Should be:
$output = shell_exec('php -l ' . escapeshellarg($filename));
Otherwise Fileloader.php issues syntax error for any test file with spaces in its path.
[2005-12-19 05:44 UTC] sebastian at php dot net
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.