nlopess Mon Jul 17 10:49:34 2006 UTC Modified files: /php-src run-tests.php Log: MFB 5.2 http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.295&r2=1.296&diff_format=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.295 php-src/run-tests.php:1.296 --- php-src/run-tests.php:1.295 Mon Jul 17 03:57:53 2006 +++ php-src/run-tests.php Mon Jul 17 10:49:34 2006 @@ -23,7 +23,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: run-tests.php,v 1.295 2006/07/17 03:57:53 iliaa Exp $ */ +/* $Id: run-tests.php,v 1.296 2006/07/17 10:49:34 nlopess Exp $ */ /* Sanity check to ensure that pcre extension needed by this script is available. * In the event it is not, print a nice error message indicating that this script will @@ -399,7 +399,7 @@ $html_output = is_resource($html_file); break; case '--version': - echo '$Revision: 1.295 $'."\n"; + echo '$Revision: 1.296 $'."\n"; exit(1); default: echo "Illegal switch specified!\n"; @@ -771,7 +771,7 @@ $url_bits = parse_url(QA_SUBMISSION_PAGE); if (empty($url_bits['port'])) $url_bits['port'] = 80; - $data = "php_test_data=" . urlencode(base64_encode(str_replace("[\\x00]", "[0x0]", $data))); + $data = "php_test_data=" . urlencode(base64_encode(str_replace("\00", '[0x0]', $data))); $data_length = strlen($data); $fs = fsockopen($url_bits['host'], $url_bits['port'], $errno, $errstr, 10);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php