File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 9
9
. Fixed bug #72635 (Undefined class used by class constant in constexpr
10
10
generates fatal error). (Nikita)
11
11
12
+ - Mbstring:
13
+ . Fixed bug #76958 (Broken UTF7-IMAP conversion). (Nikita)
14
+
12
15
27 Sep 2018, PHP 7.3.0RC2
13
16
14
17
- CURL:
Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ const mbfl_encoding mbfl_encoding_utf7imap = {
40
40
NULL ,
41
41
NULL ,
42
42
NULL ,
43
- MBFL_ENCTYPE_MBCS | MBFL_ENCTYPE_SHFTCODE
43
+ MBFL_ENCTYPE_MBCS | MBFL_ENCTYPE_SHFTCODE ,
44
+ & vtbl_utf7imap_wchar ,
45
+ & vtbl_wchar_utf7imap
44
46
};
45
47
46
48
const struct mbfl_convert_vtbl vtbl_utf7imap_wchar = {
Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ Bug #76958: Broken UTF7-IMAP conversion
3
+ --FILE--
4
+ <?php
5
+
6
+ $ str = '&BCAEMARBBEEESwQ7BDoEOA- ' ;
7
+ echo mb_convert_encoding ($ str , 'UTF-8 ' , 'UTF7-IMAP ' ) . "\n" ;
8
+ $ str = 'Рассылки ' ;
9
+ echo mb_convert_encoding ($ str , 'UTF7-IMAP ' , 'UTF-8 ' ) . "\n" ;
10
+
11
+ ?>
12
+ --EXPECT--
13
+ Рассылки
14
+ &BCAEMARBBEEESwQ7BDoEOA-
You can’t perform that action at this time.
0 commit comments