Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #10690 RunTest.php parses HTTP headers for non-CGI tests
Submitted: 2007-04-11 21:23 UTC
From: jstump Assigned: jstump
Status: Closed Package: PEAR (version 1.5.2)
PHP Version: 5.2.0 OS: All
Roadmaps: 1.5.3    
Subscription  


 [2007-04-11 21:23 UTC] jstump (Joe Stump)
Description: ------------ When you specify --cgi=/path/to/php-cgi RunTest.php parses the output expecting headers, even if the cgi wasn't used the execute the code. The problem with this is that output that matches "Foo\n\nBar" will get munged in the header checking around line 512 of RunTest.php. Expected result: ---------------- You shouldn't check for headers or munge the output if the binary from --cgi wasn't actually used (the only time it's used is if --GET--, --POST--, etc. are actually specified). Actual result: -------------- It nukes the first line of a double spaced output.

Comments

 [2007-04-12 01:54 UTC] cellog (Greg Beaver)
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.