rasmus                                   Fri, 02 Mar 2012 05:04:40 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=323793

Log:
Fix tests that break if filter.default isn't set to unsafe_raw

Changed paths:
    U   php/php-src/branches/PHP_5_4/ext/mbstring/tests/htmlent.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities13.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities14.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/parse_str_basic3.phpt
    U   php/php-src/branches/PHP_5_4/tests/basic/022.phpt
    U   php/php-src/branches/PHP_5_4/tests/basic/023.phpt
    U   php/php-src/trunk/ext/mbstring/tests/htmlent.phpt
    U   php/php-src/trunk/ext/standard/tests/strings/htmlentities13.phpt
    U   php/php-src/trunk/ext/standard/tests/strings/htmlentities14.phpt
    U   php/php-src/trunk/ext/standard/tests/strings/parse_str_basic3.phpt
    U   php/php-src/trunk/tests/basic/022.phpt
    U   php/php-src/trunk/tests/basic/023.phpt

Modified: php/php-src/branches/PHP_5_4/ext/mbstring/tests/htmlent.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/mbstring/tests/htmlent.phpt        
2012-03-02 04:57:28 UTC (rev 323792)
+++ php/php-src/branches/PHP_5_4/ext/mbstring/tests/htmlent.phpt        
2012-03-02 05:04:40 UTC (rev 323793)
@@ -15,6 +15,7 @@
 mbstring.internal_encoding=UTF-8
 mbstring.http_output=HTML-ENTITIES
 mbstring.encoding_translation=1
+filter.default=unsafe_raw
 --FILE--
 <?php
 // enable output encoding through output handler

Modified: 
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities13.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities13.phpt 
2012-03-02 04:57:28 UTC (rev 323792)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities13.phpt 
2012-03-02 05:04:40 UTC (rev 323793)
@@ -4,6 +4,7 @@
 output_handler=
 mbstring.internal_encoding=pass
 default_charset=EUC-JP
+filter.default=unsafe_raw
 --FILE--
 <?php
        print ini_get('default_charset')."\n";

Modified: 
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities14.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities14.phpt 
2012-03-02 04:57:28 UTC (rev 323792)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities14.phpt 
2012-03-02 05:04:40 UTC (rev 323793)
@@ -4,6 +4,7 @@
 output_handler=
 mbstring.internal_encoding=pass
 default_charset=Shift_JIS
+filter.default=unsafe_raw
 --FILE--
 <?php
        print ini_get('default_charset')."\n";

Modified: 
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/parse_str_basic3.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/parse_str_basic3.phpt   
    2012-03-02 04:57:28 UTC (rev 323792)
+++ 
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/parse_str_basic3.phpt   
    2012-03-02 05:04:40 UTC (rev 323793)
@@ -2,6 +2,7 @@
 Test parse_str() function : basic functionality
 --INI--
 max_input_vars=1000
+filter.default=unsafe_raw
 --FILE--
 <?php
 /* Prototype  : void parse_str  ( string $str  [, array &$arr  ] )

Modified: php/php-src/branches/PHP_5_4/tests/basic/022.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/tests/basic/022.phpt   2012-03-02 04:57:28 UTC 
(rev 323792)
+++ php/php-src/branches/PHP_5_4/tests/basic/022.phpt   2012-03-02 05:04:40 UTC 
(rev 323793)
@@ -2,6 +2,7 @@
 Cookies test#1
 --INI--
 max_input_vars=1000
+filter.default=unsafe_raw
 --COOKIE--
 cookie1=val1  ; cookie2=val2%20; cookie3=val 3.; cookie 4= value 4 %3B; 
cookie1=bogus; %20cookie1=ignore;+cookie1=ignore;cookie1;cookie  5=%20 value; 
cookie%206=���;cookie+7=;$cookie.8;cookie-9=1;;;- & % $cookie 10=10
 --FILE--

Modified: php/php-src/branches/PHP_5_4/tests/basic/023.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/tests/basic/023.phpt   2012-03-02 04:57:28 UTC 
(rev 323792)
+++ php/php-src/branches/PHP_5_4/tests/basic/023.phpt   2012-03-02 05:04:40 UTC 
(rev 323793)
@@ -2,6 +2,7 @@
 Cookies test#2
 --INI--
 max_input_vars=1000
+filter.default=unsafe_raw
 --COOKIE--
 c o o k i e=value; c o o k i e= v a l u e ;;c%20o+o 
k+i%20e=v;name="value","value",UEhQIQ==;UEhQIQ==foo
 --FILE--

Modified: php/php-src/trunk/ext/mbstring/tests/htmlent.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/htmlent.phpt   2012-03-02 04:57:28 UTC 
(rev 323792)
+++ php/php-src/trunk/ext/mbstring/tests/htmlent.phpt   2012-03-02 05:04:40 UTC 
(rev 323793)
@@ -15,6 +15,7 @@
 mbstring.internal_encoding=UTF-8
 mbstring.http_output=HTML-ENTITIES
 mbstring.encoding_translation=1
+filter.default=unsafe_raw
 --FILE--
 <?php
 // enable output encoding through output handler

Modified: php/php-src/trunk/ext/standard/tests/strings/htmlentities13.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/strings/htmlentities13.phpt    
2012-03-02 04:57:28 UTC (rev 323792)
+++ php/php-src/trunk/ext/standard/tests/strings/htmlentities13.phpt    
2012-03-02 05:04:40 UTC (rev 323793)
@@ -4,6 +4,7 @@
 output_handler=
 mbstring.internal_encoding=pass
 default_charset=EUC-JP
+filter.default=unsafe_raw
 --FILE--
 <?php
        print ini_get('default_charset')."\n";

Modified: php/php-src/trunk/ext/standard/tests/strings/htmlentities14.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/strings/htmlentities14.phpt    
2012-03-02 04:57:28 UTC (rev 323792)
+++ php/php-src/trunk/ext/standard/tests/strings/htmlentities14.phpt    
2012-03-02 05:04:40 UTC (rev 323793)
@@ -4,6 +4,7 @@
 output_handler=
 mbstring.internal_encoding=pass
 default_charset=Shift_JIS
+filter.default=unsafe_raw
 --FILE--
 <?php
        print ini_get('default_charset')."\n";

Modified: php/php-src/trunk/ext/standard/tests/strings/parse_str_basic3.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/strings/parse_str_basic3.phpt  
2012-03-02 04:57:28 UTC (rev 323792)
+++ php/php-src/trunk/ext/standard/tests/strings/parse_str_basic3.phpt  
2012-03-02 05:04:40 UTC (rev 323793)
@@ -2,6 +2,7 @@
 Test parse_str() function : basic functionality
 --INI--
 max_input_vars=100
+filter.default=unsafe_raw
 --FILE--
 <?php
 /* Prototype  : void parse_str  ( string $str  [, array &$arr  ] )

Modified: php/php-src/trunk/tests/basic/022.phpt
===================================================================
--- php/php-src/trunk/tests/basic/022.phpt      2012-03-02 04:57:28 UTC (rev 
323792)
+++ php/php-src/trunk/tests/basic/022.phpt      2012-03-02 05:04:40 UTC (rev 
323793)
@@ -2,6 +2,7 @@
 Cookies test#1
 --INI--
 max_input_vars=1000
+filter.default=unsafe_raw
 --COOKIE--
 cookie1=val1  ; cookie2=val2%20; cookie3=val 3.; cookie 4= value 4 %3B; 
cookie1=bogus; %20cookie1=ignore;+cookie1=ignore;cookie1;cookie  5=%20 value; 
cookie%206=���;cookie+7=;$cookie.8;cookie-9=1;;;- & % $cookie 10=10
 --FILE--

Modified: php/php-src/trunk/tests/basic/023.phpt
===================================================================
--- php/php-src/trunk/tests/basic/023.phpt      2012-03-02 04:57:28 UTC (rev 
323792)
+++ php/php-src/trunk/tests/basic/023.phpt      2012-03-02 05:04:40 UTC (rev 
323793)
@@ -2,6 +2,7 @@
 Cookies test#2
 --INI--
 max_input_vars=1000
+filter.default=unsafe_raw
 --COOKIE--
 c o o k i e=value; c o o k i e= v a l u e ;;c%20o+o 
k+i%20e=v;name="value","value",UEhQIQ==;UEhQIQ==foo
 --FILE--

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

Reply via email to