head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2; locks; strict; comment @# @; 1.2 date 2010.03.07.03.41.50; author taca; state dead; branches; next 1.1; 1.1 date 2010.03.04.16.00.37; author taca; state Exp; branches; next ; desc @@ 1.2 log @Update squirrelmail pacakge to 1.4.20. Version 1.4.20 - 06 Mar 2010 --------------------------- - Fixed issue with search not using literals correctly (#2846511). - Fixed issue with returning to search results due to new security token code. - Fixed issue with multi-part related messages not showing all attachments (#2830140). - Fixed for security token missing in newmail plugin (#2919418). - Fixed sort in Sent folder to sort by "To" field instead of "From" field (#2907412). - Fixed mailto: urls containing + characters. Thanks to Michael Puls II for the patch. - Made base URL autodetection more robust; fixes some lighttpd issues (probably #1741469). - Encoded From headers are now properly quoted (#2830141). - Multibyte strings (notably subjects) are now handled correctly (#2824813, #2925731). - X-DNS-Prefetch-Control: off header is now sent to browsers to prevent information leakage when Firefox does DNS prefetching for URLs contained in emails. - Added unread links in message view. - Added the ability to configure Google Mail (Gmail) as the mail server behind SquirrelMail. - Added option in display preferences that allows the signature to be stripped from the original message when replying (#2952876). Thanks to Sven Strickroth. @ text @$NetBSD: patch-ao,v 1.1 2010/03/04 16:00:37 taca Exp $ --- functions/imap_messages.php.orig 2009-07-29 11:21:06.000000000 +0900 +++ functions/imap_messages.php @@@@ -930,19 +930,27 @@@@ function sqimap_get_small_header_list($i /* non server sort stuff */ if (!$allow_server_sort) { - $from = parseAddress($from); - if ($from[0][1]) { - $from = decodeHeader($from[0][1], true, false); - } else { - $from = $from[0][0]; - } - $messages[$msgi]['FROM-SORT'] = $from; - $subject_sort = strtolower(decodeHeader($subject, true, false)); - if (preg_match("/^(?:(?:vedr|sv|re|aw|fw|fwd|\[\w\]):\s*)*\s*(.*)$/si", $subject_sort, $matches)){ + $from = parseAddress($from); + if ($from[0][1]) { + $from = decodeHeader($from[0][1], true, false); + } else { + $from = $from[0][0]; + } + $messages[$msgi]['FROM-SORT'] = $from; + $subject_sort = strtolower(decodeHeader($subject, true, false)); + if (preg_match("/^(?:(?:vedr|sv|re|aw|fw|fwd|\[\w\]):\s*)*\s*(.*)$/si", $subject_sort, $matches)){ $messages[$msgi]['SUBJECT-SORT'] = $matches[1]; - } else { - $messages[$msgi]['SUBJECT-SORT'] = $subject_sort; - } + } else { + $messages[$msgi]['SUBJECT-SORT'] = $subject_sort; + } + + $to = parseAddress($to); + if ($to[0][1]) { + $to = decodeHeader($to[0][1], true, false); + } else { + $to = $to[0][0]; + } + $messages[$msgi]['TO-SORT'] = $to; } ++$msgi; } @ 1.1 log @Overhaul squirrelmail package: * Add DESTDIR support. * Add more changes from squirrelmail's repositry including secure token support, hoping early release of real 1.4.20. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @