Changeset 2377 in subversion
- Timestamp:
- Apr 8, 2009 2:21:43 AM (4 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/lib/imap.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r2376 r2377 2 2 =========================== 3 3 4 - Fix opening attachment marks message as read (#1485803) 4 5 - Fix 'temp_dir' does not support relative path under Windows (#1484529) 5 6 - Fix "Initialize Database" button missing from installer (#1485802) -
trunk/roundcubemail/program/lib/imap.inc
r2331 r2377 2434 2434 // format request 2435 2435 foreach($parts as $part) 2436 $peeks[] = "BODY [$part.MIME]";2436 $peeks[] = "BODY.PEEK[$part.MIME]"; 2437 2437 2438 2438 $request = "$key FETCH $id (" . implode(' ', $peeks) . ')'; … … 2447 2447 $line = iil_MultLine($fp, $line); 2448 2448 2449 if (preg_match('/BODY\ [([0-9\.]+)\.MIME\]/', $line, $matches)) {2449 if (preg_match('/BODY\.PEEK\[([0-9\.]+)\.MIME\]/', $line, $matches)) { 2450 2450 $idx = $matches[1]; 2451 $result[$idx] = preg_replace('/^(\* '.$id.' FETCH \()?\s*BODY\ ['.$idx.'\.MIME\]\s+/', '', $line);2451 $result[$idx] = preg_replace('/^(\* '.$id.' FETCH \()?\s*BODY\.PEEK\['.$idx.'\.MIME\]\s+/', '', $line); 2452 2452 $result[$idx] = trim($result[$idx], '"'); 2453 2453 $result[$idx] = rtrim($result[$idx], "\t\r\n\0\x0B");
Note: See TracChangeset
for help on using the changeset viewer.
