]> granicus.if.org Git - php/commitdiff
now they are really equivalent..
authorNuno Lopes <nlopess@php.net>
Mon, 17 Jul 2006 10:48:11 +0000 (10:48 +0000)
committerNuno Lopes <nlopess@php.net>
Mon, 17 Jul 2006 10:48:11 +0000 (10:48 +0000)
run-tests.php

index 4786ae18394650f8ed9671d64eeec31284d402dd..ab3cb7271a569de5a4c8e9222ef65331304bdca4 100755 (executable)
@@ -768,7 +768,7 @@ function mail_qa_team($data, $compression, $status = FALSE)
        $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);