Thomas Bruederli
2014-05-22 b38f83bb27a8630adbfc27a2dcbd31e01bff44e2
Merge branch 'master' of github.com:roundcube/roundcubemail
2 files modified
7 ■■■■ changed files
program/js/list.js 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_imap.php 5 ●●●● patch | view | raw | blame | history
program/js/list.js
@@ -313,7 +313,7 @@
    if (row.id) domrow.id = row.id;
    if (row.className) domrow.className = row.className;
    if (row.style) $.extend(domrow.style, row.style);
    if (row.uid) $(domrow).data('uid', row.uid);
    if (row.uid) $(domrow).data('uid', String(row.uid)); // #1489906
    for (var e, domcell, col, i=0; row.cols && i < row.cols.length; i++) {
      col = row.cols[i];
program/lib/Roundcube/rcube_imap.php
@@ -1691,12 +1691,15 @@
                $string_offset = $m[1] + strlen($m[0]) + 4; // {}\r\n
                $string = substr($str, $string_offset - 1, $m[0]);
                $string = rcube_charset::convert($string, $charset, $dest_charset);
                if ($string === false) {
                if ($string === false || !strlen($string)) {
                    continue;
                }
                $res .= substr($str, $last, $m[1] - $last - 1) . rcube_imap_generic::escape($string);
                $last = $m[0] + $string_offset - 1;
            }
            if ($last < strlen($str)) {
                $res .= substr($str, $last, strlen($str)-$last);
            }