Ticket #1484191: rc_changes.diff
| File rc_changes.diff, 1.0 kB (added by alexey_dv, 2 years ago) |
|---|
-
program/include/rcube_imap.inc
1554 1554 if (is_array($mbox_name)) 1555 1555 $a_mboxes = $mbox_name; 1556 1556 else if (is_string($mbox_name) && strlen($mbox_name)) 1557 $a_mboxes = explode(',', $mbox_name);1557 $a_mboxes = (array)$mbox_name; 1558 1558 1559 1559 // let this common function do the main work 1560 1560 return $this->_change_subscription($a_mboxes, 'subscribe'); … … 2144 2144 $pos = strpos($input, '=?'); 2145 2145 if ($pos !== false) 2146 2146 { 2147 // rfc: all line breaks or other characters not found in the Base64 Alphabet must be ignored by decoding software 2148 // delete all blanks between MIME-lines, differently we can receive unnecessary blanks and broken utf-8 symbols 2149 $input = preg_replace("/\?=\s+=\?/", '?==?', $input); 2150 2147 2151 $out = substr($input, 0, $pos); 2148 2152 2149 2153 $end_cs_pos = strpos($input, "?", $pos+2);
