Test: /ext/standard/tests/file/bug43008.phpt - Version 5.4.9        

Bug #43008 php://filter uris ignore url encoded filternames and can't handle slashes
Submitted: 2007-10-17 17:04:40 Modified: 2008-08-02 06:38:34
From: php Assigned: hholzgra
Status: Closed Package: Streams related
PHP Version: 5.3CVS-2007-10-17 (CVS) OS: linux

There are 6 different diffs reported by users for this test.

Count Diff
66 (80%)
001+ Warning: file_get_contents(): iconv stream filter ("ISO-8859-15"=>"UTF-8"): unknown error in %s/bug43008.php on line 9
001- string(8) "foob%E2r"
002+ string(0) ""
7 (8%)
001+ Warning: file_get_contents(php://filter/read=convert.iconv.ISO-8859-15%2FUTF-8|string.rot13|string.rot13|convert.iconv.UTF-8%2FISO-8859-15/resource=data://text/plain,foob%E2r): failed to open stream: operation failed in %s/bug43008.php on line 9
001- string(8) "foob%E2r"
002+ string(0) ""
5 (6%)
001+
001- string(8) "foob%E2r"
2 (2%)
2 (2%)
001+ Warning: file_get_contents(): unable to create or locate filter "convert.iconv.ISO-8859-15/UTF-8" in %s/bug43008.php on line 9
002+
003+ Warning: file_get_contents(): Unable to create filter (convert.iconv.ISO-8859-15/UTF-8) in %s/bug43008.php on line 9
004+
005+ Warning: file_get_contents(): unable to create or locate filter "convert.iconv.UTF-8/ISO-8859-15" in %s/bug43008.php on line 9
006+
007+ Warning: file_get_contents(): Unable to create filter (convert.iconv.UTF-8/ISO-8859-15) in %s/bug43008.php on line 9
1 (1%)
001+ Warning: file_get_contents(): iconv stream filter ("ISO-8859-15"=>"UTF-8"): unknown error in %s/bug43008.php on line 9
001- string(8) "foob%E2r"
002+ string(0) "" 003013: 1406117813 0.56951400 < 1406117813 0.56951500 012717: 1406117813 0.59957000 < 1406117813 0.59957100 027527: 1406117813 0.63653300 < 1406117813 0.63653400 030780: 1406117813 0.64446400 < 1406117813 0.64446500 040081: 1406117813 0.66450100 < 1406117813 0.66450200 047094: 1406117813 0.68439800 < 1406117813 0.68439900 048282: 1406117813 0.68642300 < 1406117813 0.68642400 060296: 1406117813 0.71443000 < 1406117813 0.71443100 079748: 1406117813 0.76938500 < 1406117813 0.76938600 001+ Passed: 99991
002+ Failed: 9
001- Passed: 100000
002- Failed: 0
003+ 003013: 1406117813 0.56951400 < 1406117813 0.56951500
004+ 012717: 1406117813 0.59957000 < 1406117813 0.59957100
005+ 027527: 1406117813 0.63653300 < 1406117813 0.63653400
006+ 030780: 1406117813 0.64446400 < 1406117813 0.64446500
007+ 040081: 1406117813 0.66450100 < 1406117813 0.66450200
008+ 047094: 1406117813 0.68439800 < 1406117813 0.68439900
009+ 048282: 1406117813 0.68642300 < 1406117813 0.68642400
010+ 060296: 1406117813 0.71443000 < 1406117813 0.71443100
011+ 079748: 1406117813 0.76938500 < 1406117813 0.76938600