Commit:    523fd2c244ccc5c89d5bef2c3719f17782d8b6fa
Author:    Rasmus Lerdorf <ras...@php.net>         Wed, 23 May 2012 17:37:13 
-0700
Parents:   acd711685a592c52be200e248154283c6c49c9f8
Branches:  PHP-5.4

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=523fd2c244ccc5c89d5bef2c3719f17782d8b6fa

Log:
Fix broken apache_request_headers test

This test depends on the default_charset setting, so set it to
UTF-8 for consistent output

Changed paths:
  M  sapi/cgi/tests/apache_request_headers.phpt


Diff:
diff --git a/sapi/cgi/tests/apache_request_headers.phpt 
b/sapi/cgi/tests/apache_request_headers.phpt
index 2c82d57..3dc3580 100644
--- a/sapi/cgi/tests/apache_request_headers.phpt
+++ b/sapi/cgi/tests/apache_request_headers.phpt
@@ -1,5 +1,7 @@
 --TEST--
 apache_request_headers() stack overflow.
+--INI--
+default_charset="UTF-8"
 --SKIPIF--
 <?php 
 include "skipif.inc"; 
@@ -29,7 +31,7 @@ echo "Done\n";
 ?>
 --EXPECTF--    
 X-Powered-By: PHP/%s
-Content-type: text/html
+Content-type: text/html; charset=UTF-8
 
 Array
 (


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to