Test: /ext/iconv/tests/bug51250.phpt - Version 5.4.9        

Bug #51250 iconv_mime_decode() does not ignore malformed Q-encoded words
Submitted: 2010-03-09 20:49:43 Modified: 2010-12-01 15:04:19
From: tomlove Assigned: iliaa
Status: Closed Package: ICONV related
PHP Version: 5.2.13 OS: Linux / Windows

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

Count Diff
56 (67%)
004+ string(33) "Illegal encoded-word: =?utf-8?Q?."
004- string(23) "Illegal encoded-word: ."
009+ Notice: iconv_mime_decode(): Unknown error (84) in %s/bug51250.php on line 12
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
7 (8%)
001+
001- string(23) "Legal encoded-word: * ."
002- string(23) "Legal encoded-word: * ."
003- string(24) "Illegal encoded-word: ."
004- string(23) "Illegal encoded-word: ."
005- string(23) "Legal encoded-word: * ."
006- string(23) "Legal encoded-word: * ."
007- string(24) "Illegal encoded-word: ."
008-
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
010- bool(false)
6 (7%)
001+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 4
002+ bool(false)
003+
004+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 5
005+ bool(false)
006+
007+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 6
008+ bool(false)
009+
010+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 7
011+ bool(false)
012+
013+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 9
014+ bool(false)
015+
016+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 10
017+ bool(false)
018+
019+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 11
020+ bool(false)
021+
022+ Notice: iconv_mime_decode(): Unknown error (22) in %s/bug51250.php on line 12
001- string(23) "Legal encoded-word: * ."
002- string(23) "Legal encoded-word: * ."
003- string(24) "Illegal encoded-word: ."
004- string(23) "Illegal encoded-word: ."
005- string(23) "Legal encoded-word: * ."
006- string(23) "Legal encoded-word: * ."
007- string(24) "Illegal encoded-word: ."
008-
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
6 (7%)
001+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 4
002+ bool(false)
003+
004+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 5
005+ bool(false)
006+
007+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 6
008+ bool(false)
009+
010+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 7
011+ bool(false)
012+
013+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 9
014+ bool(false)
015+
016+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 10
017+ bool(false)
018+
019+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 11
020+ bool(false)
021+
022+ Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `ISO-8859-1' is not allowed in %s/bug51250.php on line 12
001- string(23) "Legal encoded-word: * ."
002- string(23) "Legal encoded-word: * ."
003- string(24) "Illegal encoded-word: ."
004- string(23) "Illegal encoded-word: ."
005- string(23) "Legal encoded-word: * ."
006- string(23) "Legal encoded-word: * ."
007- string(24) "Illegal encoded-word: ."
008-
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
3 (4%)
004+ string(33) "Illegal encoded-word: =?utf-8?Q?."
004- string(23) "Illegal encoded-word: ."
009+ Notice: iconv_mime_decode(): Unknown error (88) in %s/bug51250.php on line 12
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
2 (2%)
001+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 4
002+ bool(false)
003+
004+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 5
005+ bool(false)
006+
007+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 6
008+ bool(false)
009+
010+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 7
011+ bool(false)
012+
013+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 9
014+ bool(false)
015+
016+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 10
017+ bool(false)
018+
019+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 11
020+ bool(false)
021+
022+ Notice: iconv_mime_decode(): Unknown error (25) in %s/bug51250.php on line 12
001- string(23) "Legal encoded-word: * ."
002- string(23) "Legal encoded-word: * ."
003- string(24) "Illegal encoded-word: ."
004- string(23) "Illegal encoded-word: ."
005- string(23) "Legal encoded-word: * ."
006- string(23) "Legal encoded-word: * ."
007- string(24) "Illegal encoded-word: ."
008-
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
1 (1%)
004+ string(33) "Illegal encoded-word: =?utf-8?Q?."
004- string(23) "Illegal encoded-word: ."
009+ Notice: iconv_mime_decode(): Unknown error (122) in %s/bug51250.php on line 12
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
1 (1%)
004+ string(33) "Illegal encoded-word: =?utf-8?Q?."
004- string(23) "Illegal encoded-word: ."
009+ Notice: iconv_mime_decode(): Unknown error (85) in %s/bug51250.php on line 12
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
1 (1%)
004+ string(37) "Illegal encoded-word: =?utf-8?Q?í?= ."
004- string(23) "Illegal encoded-word: ."