Browse Source

Fix literals handling again

pull/7561/head
Aleksander Machniak 5 years ago
parent
commit
746ccb7fdf
  1. 4
      program/lib/Roundcube/rcube_imap_generic.php

4
program/lib/Roundcube/rcube_imap_generic.php

@ -234,7 +234,7 @@ class rcube_imap_generic
// include all string literels untile the real end of "line"
while (preg_match('/\{([0-9]+)\}\r\n$/', $line, $m)) {
$bytes = $m[1] + 2;
$bytes = $m[1];
$out = '';
while (strlen($out) < $bytes) {
@ -245,6 +245,8 @@ class rcube_imap_generic
$line .= $out;
}
$line .= $this->readLine($size);
}
return $line;

Loading…
Cancel
Save