release-0.6
svncommit 18 years ago
parent 7139e33e6c
commit 40ed9be1ee

@ -1,6 +1,12 @@
CHANGELOG RoundCube Webmail CHANGELOG RoundCube Webmail
--------------------------- ---------------------------
2006/09/12 (estadtherr)
----------
- Fixed html2text treatment of table headers (Bug #1484020)
- Fixed IMAP fetch of message body (Bug #1484019)
2006/09/08 (thomasb) 2006/09/08 (thomasb)
---------- ----------
- Fixed safe_mode problems (Bug #1418381) - Fixed safe_mode problems (Bug #1418381)

@ -126,19 +126,18 @@ class html2text
'/(<table[^>]*>|<\/table>)/i', // <table> and </table> '/(<table[^>]*>|<\/table>)/i', // <table> and </table>
'/(<tr[^>]*>|<\/tr>)/i', // <tr> and </tr> '/(<tr[^>]*>|<\/tr>)/i', // <tr> and </tr>
'/<td[^>]*>(.+?)<\/td>/i', // <td> and </td> '/<td[^>]*>(.+?)<\/td>/i', // <td> and </td>
'/<th[^>]*>(.+?)<\/th>/i', // <th> and </th> '/<th[^>]*>(.+?)<\/th>/ie', // <th> and </th>
'/&nbsp;/i', '/&nbsp;/i',
'/&quot;/i', '/&quot;/i',
'/&gt;/i', '/&gt;/i',
'/&lt;/i', '/&lt;/i',
'/&amp;/i', '/&(amp|#38);/i',
'/&copy;/i', '/&copy;/i',
'/&trade;/i', '/&trade;/i',
'/&#8220;/', '/&#8220;/',
'/&#8221;/', '/&#8221;/',
'/&#8211;/', '/&#8211;/',
'/&#8217;/', '/&#(8217|39);/',
'/&#38;/',
'/&#169;/', '/&#169;/',
'/&#8482;/', '/&#8482;/',
'/&#151;/', '/&#151;/',
@ -188,7 +187,6 @@ class html2text
'"', '"',
'-', '-',
"'", "'",
'&',
'(c)', '(c)',
'(tm)', '(tm)',
'--', '--',

@ -1887,7 +1887,7 @@ function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part, $mode){
$remaining = $bytes - $received; $remaining = $bytes - $received;
$line = iil_ReadLine($fp, 1024); $line = iil_ReadLine($fp, 1024);
$len = strlen($line); $len = strlen($line);
if ($len > $remaining) substr($line, 0, $remaining); if ($len > $remaining) $line = substr($line, 0, $remaining);
$received += strlen($line); $received += strlen($line);
if ($mode==1) $result .= chop($line)."\n"; if ($mode==1) $result .= chop($line)."\n";
else if ($mode==2){ echo chop($line)."\n"; flush(); } else if ($mode==2){ echo chop($line)."\n"; flush(); }

Loading…
Cancel
Save