me bad. loose but lossy.
[squirrelmail.git] / ChangeLog
index 3708a00673b1ab5e0bd5fab8b9cdfe5cd337cf13..451211c8d104d77de6e2f44c561f51a30b618d42 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,8 +2,105 @@
 *** SquirrelMail Devel Series 1.5 ***
 *************************************
 
 *** SquirrelMail Devel Series 1.5 ***
 *************************************
 
-Version 1.5.0 -- CVS
+Version 1.5.1 -- CVS
 --------------------
 --------------------
+  - New reply citation to include date and author.
+  - Fix some possible XSS bugs.
+  - Norwegian Bokmal translation uses nb_NO.
+  - Integrated Msg_Flags plugin - turn on/off icons using configuration tool, menu
+    number 11 (Tweaks), option number 3, after which users must select an icon
+    theme in Options/Display Preferences.  "Flag"/"Unflag" buttons are implemented
+    as separate plugin.
+  - Added Farsi and Tagalog translation support.
+  - Enabled Ukrainian and Russian-Ukrainian support
+  - Subfolders named "foo.inbox" didn't always work well.  Fixed.
+  - sqimap_create_stream() was not obeying passed params properly.
+  - Fix non-selectable inbox.
+  - Add src/configtest.php script which checks for common errors in the config.
+  - Improve display of some unparsable/absent dates (#891354).
+  - Add comment (Highest,Normal,Lowest) to X-Priority header.
+    Some SpamAssassin rule triggers on the absence of such a comment.
+  - Corrected moving of last message in a folder using Delete-Move-Next
+    functionality added to core in 1.5.0.
+  - Fix test for LOGINDISABLED, should only test when the auth mech actually
+    is 'login'.
+  - Update required PHP version to 4.1.0, and remove PHP 4.0.x legacy code.
+  - Make writing of preferences, abook, calendars fail better when disk full
+    (#915527).
+  - Remove code related to non-UID-supporting IMAP servers.
+  - Fix quoteimap() regex escaping problem (#921291).
+  - Added option to suppress Received: line in outbound SM headers (#847107).
+  - Changed read_body header from links to buttons (looks like message index).
+  - Add functions for building HTML forms (functions/forms.php).
+  - Moved javascript_on to session (from prefs). Centralized javascript detection
+    in prefs.php method checkForJavascript.
+  - Added abook_init and abook_add_class hooks.
+  - Fixed "Resume Draft" to continue using selected identities (#845290).
+  - Fixed RFC2821 incompliancy by adding a fallback mechanism to HELO if
+    EHLO is not supported.
+  - Fixed RFC2298 incompliancy by setting envelope sender to null.
+  - Fixed problem where setting all the messages on the last page of the
+    message list would return one page higher.
+  - Remove call to perform expunge on mailbox select - auto-expunge will
+    still be performed on message delete, etc.
+  - Allow single quotes to be used in theme name in conf.pl (#805309).
+  - Fixed on the fly decoding of base64 encoded attachments.
+  - Fixed message rejects by the postfix sendmail wrapper when attachments were
+    involved.
+  - Fixed date display bug for messages of today. Show short format in case
+    of long format. (only occurs in the timeframe around 0:00 AM till
+    timezone).
+  - Added address book sorting options. Ascending/descending sorting code
+    written by Bryan Loniewski.
+  - Use Special Folder Color config option works again (#931956).
+  - In POP3-class, be more liberal regarding RFC-incompliant POP3-servers.
+  - Added Basque translation support.
+  - Remove flag buttons / links from display if mailbox doesn't allow it.
+  - Make used of cached ordered uid list in case of server_side_sorting.
+  - Rewrite of internal mailbox sorting routines.
+  - Added sort by message size.
+  - Fixed XSS vulnerability in content-type display in the attachment area
+    of read_body.php discovered by Roman Medina.
+  - Get alternating row colors of addressbook in sync with mailbox list.
+  - Give proper error when PEAR DB not found.
+  - Remove inappropriate strip_tags() from add-to-addressbook (#968475).
+  - Prefs caching didn't work properly with register_globals off (#995102).
+  - Security: fix SQL injection vulnerability in addressbook
+    (CVE ID: CAN-2004-0521).
+  - Removed html_top and html_bottom hooks.  No longer used/needed.
+  - Added "trailing text" for options built by SquirrelMail (text placed
+    after text and select list inputs on options pages)
+  - Custom option page values now repopulate correctly
+  - Added "no focus" option for compose page in display preferences (setting
+    reply focus to "No focus" also affects composing new messages)
+  - Current hook name is now globally available when running a hook ($currentHookName)
+  - Fix bug when Saving to Draft folder that contains special characters.
+  - Added size limit to signatures saved in file backend. Created error_option_save
+    function, that allows sending error message to options page. Thanks to Martynas 
+    Bieliauskas for spotting big signature "option".
+  - Make SquirrelSpell work with safe_mode enabled, if using PHP >=4.3.0.
+    Patch by Ray Ferguson.
+  - Make IP-address in Message-ID RFC822 compliant.
+  - Uneditable address book entries no longer have checkboxes on addresses page.
+  - Alignment of title text above folder list fixed.
+  - Changed structure of xtra_code functions that are used by some translations.
+  - Added Uighur language support.
+  - Added status bar to compose window when "Compose In New Window" is used.
+  - Reenabled the move_messages_button_action hook and changed its name to
+    mailbox_display_button_action to promote the new location
+  - Making delete button, when viewing a message, consider which page was viewed
+    before.
+  - $agresive_decoding configuration option changed to $aggressive_decoding.
+    Fixed spelling.
+  - Added $lossy_encoding option (provides fix for #806698)
+  - Reenabled use of $default_charset option. Option works only with en_US 
+    translation in order to prevent language/charset misconfiguration.
+  - Fixes for nonpopulation of folder lists and errors when emptying the trash
+    (provides fixes for #1019185 and #1017941)
+
+Version 1.5.0
+--------------------
+  - Added new preference that determines cursor focus when replying
   - Added support in conf.pl for MS cls command.
   - conf.pl changes for relative paths outside the SM tree (#715119).
   - conf.pl changes for delete_folder restrictions with Courier-IMAP and
   - Added support in conf.pl for MS cls command.
   - conf.pl changes for relative paths outside the SM tree (#715119).
   - conf.pl changes for delete_folder restrictions with Courier-IMAP and
@@ -15,7 +112,7 @@ Version 1.5.0 -- CVS
   - Fixed message highlighting for To, CC and From and
     for RFC1522 headers (bug #719564)
   - Fixed incorrect folding inside message-id's
   - Fixed message highlighting for To, CC and From and
     for RFC1522 headers (bug #719564)
   - Fixed incorrect folding inside message-id's
-  - Fix for Folders being listed in create/remove/rename operations 
+  - Fix for Folders being listed in create/remove/rename operations
     (#725443, #722823, #729225)
   - Fix for bad attachment view link (#697381, #729295)
   - Fix comp_in_new in search and addressbook not having right parameters (#731768).
     (#725443, #722823, #729225)
   - Fix for bad attachment view link (#697381, #729295)
   - Fix comp_in_new in search and addressbook not having right parameters (#731768).
@@ -25,7 +122,7 @@ Version 1.5.0 -- CVS
   - Remove obsoleted parsing functions.
   - Fixed language bug in posting on modifying/deleting servers on mail_fetch plugin
     (#742705).
   - Remove obsoleted parsing functions.
   - Fixed language bug in posting on modifying/deleting servers on mail_fetch plugin
     (#742705).
-  - Fixed infinite loop in parseAddress on invalid mailadress (#742584).
+  - Fixed infinite loop in parseAddress on invalid mailaddress (#742584).
   - Rewrote ugly "Not a very useful errormessage" to something more friendly.
   - Make central function for compose links to make sure compose_in_new always
     works the same way.
   - Rewrote ugly "Not a very useful errormessage" to something more friendly.
   - Make central function for compose links to make sure compose_in_new always
     works the same way.
@@ -34,8 +131,8 @@ Version 1.5.0 -- CVS
   - Support MS Exchange "DOMAIN/username/mailbox"-style usernames (#745814).
   - Do not set Full Name to empty when edit_identity is false and edit_name is true (#750728).
   - Added koi8-u, windows-1255, windows-1256, iso-8859-6 charset decoding support.
   - Support MS Exchange "DOMAIN/username/mailbox"-style usernames (#745814).
   - Do not set Full Name to empty when edit_identity is false and edit_name is true (#750728).
   - Added koi8-u, windows-1255, windows-1256, iso-8859-6 charset decoding support.
-  - Rewrite of sqimap_read_data_list which as result we better handle the 
-    returned imap responses and we display error messages when connections are 
+  - Rewrite of sqimap_read_data_list which as result we better handle the
+    returned imap responses and we display error messages when connections are
     dropped.
   - Rewrite of email address parser and solve the infinite loops issues due to
     bad formatted addresses.
     dropped.
   - Rewrite of email address parser and solve the infinite loops issues due to
     bad formatted addresses.
@@ -48,10 +145,10 @@ Version 1.5.0 -- CVS
   - Replaced search with new version by Alex Lemaresquier. (Originally
     "asearch" plugin).
   - New debugging function: sm_print_r() in strings.php.
   - Replaced search with new version by Alex Lemaresquier. (Originally
     "asearch" plugin).
   - New debugging function: sm_print_r() in strings.php.
-  - Use SM_PATH in config_default. Change default server type to 'other' in stead
+  - Use SM_PATH in config_default. Change default server type to 'other' instead
     of cyrus. (#766577).
   - Added feature to allow user to switch on full date display in mailboxes instead
     of cyrus. (#766577).
   - Added feature to allow user to switch on full date display in mailboxes instead
-    of just partial date/time based on time of email, and current date.
+    of just partial date/time based on time of email and current date.
   - Fixed bug that would cause e-mails dated in the future to be displayed with only
     the time.
   - Fixed unseen/total notifications to return behaviour back to 1.2.x style.
   - Fixed bug that would cause e-mails dated in the future to be displayed with only
     the time.
   - Fixed unseen/total notifications to return behaviour back to 1.2.x style.
@@ -78,6 +175,46 @@ Version 1.5.0 -- CVS
   - Fix for disapearing '0' from decoded strings (bug #784193)
   - Replace all session_start() calls with sqsession_is_active() to be compatible
     with upcoming PHP 4.3.3.
   - Fix for disapearing '0' from decoded strings (bug #784193)
   - Replace all session_start() calls with sqsession_is_active() to be compatible
     with upcoming PHP 4.3.3.
+  - Encoding of Russian translation changed to utf-8. Lithuanian translation changed
+    to utf-8. Fix allows to use national letters in folder names correctly.
+  - Added "Bypass Trash" checkbox to folder index, used with the Delete
+    button. (update: This needs work and will be changed, possibly removed)
+  - Fixed a problem with delete_move_next and server thread-sorting.
+  - New hook function: boolean_hook_function()  Used for true/false hooks.
+  - Calendar plugin: in month view, display events on the same day sorted by time,
+    and include the time of the event in its tooltip.
+  - Added default settings for Mercury/32 to conf.pl.
+  - Fix to prevent mailboxes are deleted in selected stage which is against
+    RFC3501.
+  - Fix reply all address string in case the personal name contained a comma
+    (address separator).
+  - Added SASL PLAIN to IMAP and SMTP. Thanks to avel for the prodding and
+    code snippet.
+  - conf.pl will no longer offer to detect login methods if TLS is enabled.
+  - conf.pl no longer offers UID support toggle, which is forced true in
+    global.php
+  - HTML Filter bugfixes and further strengthening in response to some
+    findings reported by stardust.
+  - Disabled Vietnamese and Ukrainian translations. They are done in different
+    language.
+  - Removed all translations. SquirrelMail translations are distributed as
+    separate packages and kept in different cvs module.
+  - New function: imap_general.php:create_imap_stream()
+  - Updated src/login.php to detect, handle, and warn on LOGINDISABLED from IMAP server.
+  - Fixed SquirrelMail to work under PHP5.
+  - Reintroduce alternating row colors in addressbook, something that has
+    accidentally disappeared in the past.
+  - Disabled Quick-email-reporting feature in spamcop plugin. Bug.809452. Admin
+    can enable it by setting variable in plugins/spamcop/setup.php
+  - Fix again for Internet Explorer's stupidity of decoding characters, then
+    executing it blindly. See http://www.securityfocus.com/archive/1/340118.
+  - Replaced obsolete 2mbit.com RBL with ahbl.org RBL. Bug.No.829887
+  - Added a sitewide override for authenticated SMTP - see authentication.txt.
+  - Fixed sorting of sent_subfolders.
+    Sent_subfolder plugin is hooked to special_mailbox hook.
+  - Integration of delete_move_next plugin into core.
+  - Compression of buttons/headers for message index and message body
+  - New option to save replies in the same folder as the original message.
 
 
 **************************************
 
 
 **************************************
@@ -100,7 +237,7 @@ Version 1.4.0 -- 3 April 2003
   - Fix for date/time display in certain timezones.
   - Fix some features of login.php that are used by some plugins and was broken
     by register_globals = off.
   - Fix for date/time display in certain timezones.
   - Fix some features of login.php that are used by some plugins and was broken
     by register_globals = off.
-  - Added Greek locale. Thanks to George P. Kremmydas 
+  - Added Greek locale. Thanks to George P. Kremmydas
     <george at kefalonia-ithaki.gr> and Alexandros Vellis <avel at noc.uoa.gr>
   - Added notes about PHP 4.3.x to documentation.
   - Fixed \Noselect mailbox detection.
     <george at kefalonia-ithaki.gr> and Alexandros Vellis <avel at noc.uoa.gr>
   - Added notes about PHP 4.3.x to documentation.
   - Fixed \Noselect mailbox detection.
@@ -140,7 +277,7 @@ Version 1.4.0 RC 2a
   - Patch from O'Shaughnessy Evans <shaug-sqm@wumpus.org> to allow disabled $org_logo
   - Lots of language/internationalization updates
   - conf.pl fixes for certain uses of SM_PATH, esp. $signout_page.
   - Patch from O'Shaughnessy Evans <shaug-sqm@wumpus.org> to allow disabled $org_logo
   - Lots of language/internationalization updates
   - conf.pl fixes for certain uses of SM_PATH, esp. $signout_page.
-  - SMTP & IMAP auth method "plain" was a misnomer - now corrected to 
+  - SMTP & IMAP auth method "plain" was a misnomer - now corrected to
     the more accurate name "login" (Plain to be implemented soon).
   - Fix for compose after search bug.  (Closes #662346)
   - Improved error reporting when sending mail with SMTP.
     the more accurate name "login" (Plain to be implemented soon).
   - Fix for compose after search bug.  (Closes #662346)
   - Improved error reporting when sending mail with SMTP.
@@ -164,7 +301,7 @@ Version 1.4.0 RC 2a
   - Correctly fold encoded header lines.
   - Fix prefs caching not working correctly in PHP 4.3 caused by a stupid
     version checking mechanism.
   - Correctly fold encoded header lines.
   - Fix prefs caching not working correctly in PHP 4.3 caused by a stupid
     version checking mechanism.
-  - Fix XXS hole that allowed JavaScript execution by sending someone
+  - Fix XSS hole that allowed JavaScript execution by sending someone
     an email with specially crafted headers. Thanks Jason Munro, and
     Masato Higashiyama.
 
     an email with specially crafted headers. Thanks Jason Munro, and
     Masato Higashiyama.
 
@@ -228,32 +365,32 @@ Version 1.3.0
   - Moved view_header code out of read_body.php and put it in view_header.php.
   - Open message/rfc822 attachments in read_body what makes it possible to
     reply to attached messages.
   - Moved view_header code out of read_body.php and put it in view_header.php.
   - Open message/rfc822 attachments in read_body what makes it possible to
     reply to attached messages.
-  - Rewrite of the newMail function in compose.php. This simplifies the 
+  - Rewrite of the newMail function in compose.php. This simplifies the
     interface between read_body.php and compose.php.
   - Moved compose related code from read_body to compose.
   - Rewrite of mailbox-display to make it more modular (we use it in search.php).
   - Added support for displaying multiple entities.
   - Changed finding display entities.
     interface between read_body.php and compose.php.
   - Moved compose related code from read_body to compose.
   - Rewrite of mailbox-display to make it more modular (we use it in search.php).
   - Added support for displaying multiple entities.
   - Changed finding display entities.
-  - Extract disposition and xmailer header information in the headerparser 
+  - Extract disposition and xmailer header information in the headerparser
     instead of request them individualy by an imap-call.
   - Store message objects in the current session. This saves a lot of imap-calls.
   - Added UID support.
   - Store addresses in an object instead of a string.
     instead of request them individualy by an imap-call.
   - Store message objects in the current session. This saves a lot of imap-calls.
   - Added UID support.
   - Store addresses in an object instead of a string.
-  - Rewrite of the bodystructureparser function. Now the message object contains 
+  - Rewrite of the bodystructureparser function. Now the message object contains
     all described parameters in RFC2060.
   - Introduction of the mime class where all mime related functions are situated
   - Fixed removing MDN attachments.
   - Fixed MDN problems with js confirmbox.
   - Speedimprovements in case we download mime-entities.
   - Added possibility to extract message/rfc822 attachments and store them as
     all described parameters in RFC2060.
   - Introduction of the mime class where all mime related functions are situated
   - Fixed removing MDN attachments.
   - Fixed MDN problems with js confirmbox.
   - Speedimprovements in case we download mime-entities.
   - Added possibility to extract message/rfc822 attachments and store them as
-    the original message in a folder. 
+    the original message in a folder.
   - Right to left languages implementation initiated
   - Enable people with file_uploads = off to still send mail. Patch from Seth
     E. Randall.
   - Moved the generic_header hook back to page_header.php. bug #554278
   - Make default theme work. Bug #557313, thanks Tyler Bannister.
 
   - Right to left languages implementation initiated
   - Enable people with file_uploads = off to still send mail. Patch from Seth
     E. Randall.
   - Moved the generic_header hook back to page_header.php. bug #554278
   - Make default theme work. Bug #557313, thanks Tyler Bannister.
 
-  
+
 Version 1.2.7 -- June 21 2002
 -----------------------------
   - fix for 'compose as new' link. bug #554886
 Version 1.2.7 -- June 21 2002
 -----------------------------
   - fix for 'compose as new' link. bug #554886
@@ -261,22 +398,22 @@ Version 1.2.7 -- June 21 2002
   - fix for errant '.' in default_folder_prefix. bug #551310
   - fix for folder names with '?' and '*'. bug # 559257, #552180
   - added the ability to search without the charset argument. #552288
   - fix for errant '.' in default_folder_prefix. bug #551310
   - fix for folder names with '?' and '*'. bug # 559257, #552180
   - added the ability to search without the charset argument. #552288
-  - Made /noselect node display optional. bug #554988, patch #452178 
+  - Made /noselect node display optional. bug #554988, patch #452178
   - Improved support for macosx IMAP server thanks Brian Haun
   - Added macosx friendly search, thanks Brian Haun bug #553038
   - Fixed word wrap problems when sending mail. bug #552961, #556143
   - Added possibility to use multiple compose windows without loss
     of attachements.
   - Improved support for macosx IMAP server thanks Brian Haun
   - Added macosx friendly search, thanks Brian Haun bug #553038
   - Fixed word wrap problems when sending mail. bug #552961, #556143
   - Added possibility to use multiple compose windows without loss
     of attachements.
-  - Fixed forward message/rfc822 attachments from a search 
+  - Fixed forward message/rfc822 attachments from a search
   - Fix SpamCop plugin.
   - Fixed send MDN link.
   - Fix SpamCop plugin.
   - Fixed send MDN link.
-  - Fixed dealing with \r\n and \n in smtp.php. 
+  - Fixed dealing with \r\n and \n in smtp.php.
   - Fixed to, cc, bcc arrays in message->header
   - Fixed to, cc, bcc arrays in message->header
-  - Speed optimizements in generating message-lists.    
+  - Speed optimizements in generating message-lists.
   - Fixed loss of attachment with html addressbook.
   - Fixed saving drafts with attachments
   - Fixed loss of attachment with html addressbook.
   - Fixed saving drafts with attachments
-  
-Version 1.2.6 -- April 29 2002 
+
+Version 1.2.6 -- April 29 2002
 ------------------------------
   - A complete MagicHTML rewrite since the existing codebase was
     causing too many XSS problems. Hopefully now Nick Cleaton will
 ------------------------------
   - A complete MagicHTML rewrite since the existing codebase was
     causing too many XSS problems. Hopefully now Nick Cleaton will
@@ -302,7 +439,7 @@ Version 1.2.6 -- April 29 2002
   - Fix for a "theme passed as cookie" exploit.
   - PostgreSQL is now supported for database backed use
   - Added user option to sort messages by internal date
   - Fix for a "theme passed as cookie" exploit.
   - PostgreSQL is now supported for database backed use
   - Added user option to sort messages by internal date
-  - Changed attachment handling now attachments are adressed to 
+  - Changed attachment handling now attachments are adressed to
     unique compose session.
   - Added forward messages as message/rfc822 attachment
   - Fixed handling message/rfc822 attachments
     unique compose session.
   - Added forward messages as message/rfc822 attachment
   - Fixed handling message/rfc822 attachments
@@ -320,19 +457,19 @@ Version 1.2.6 -- April 29 2002
   - Filtering now happens on folder list refresh (filters plugin)
   - Added checking of input of the folders page
   - Made erronous deleting of folders harder (patch #514208)
   - Filtering now happens on folder list refresh (filters plugin)
   - Added checking of input of the folders page
   - Made erronous deleting of folders harder (patch #514208)
-  - Made SquirrelMail display \Noselect nodes in Cyrus also made it 
+  - Made SquirrelMail display \Noselect nodes in Cyrus also made it
     impossible to try to delete \Noselect nodes. (patch #452178)
   - SquirrelSpell version 0.3.8 -- pretty configuration error reporting
     added by popular demand.
   - Improved the handling of IMAP [PARSE] messages to reduce retrieval error.
     impossible to try to delete \Noselect nodes. (patch #452178)
   - SquirrelSpell version 0.3.8 -- pretty configuration error reporting
     added by popular demand.
   - Improved the handling of IMAP [PARSE] messages to reduce retrieval error.
-  - Fixed small bug in handeling timezone (bug #536149).       
+  - Fixed small bug in handeling timezone (bug #536149).
   - MDN message now RFC compatible (bug #537662).
   - Fixed html tables in printer_friendly_bottom.php (patch #542367), and
     make it so that printer friendly uses black-on-white colors in stead
     of the theme colors.
   - Fixed return address of MDN receipts when having multiple identities
     (patch #530139).
   - MDN message now RFC compatible (bug #537662).
   - Fixed html tables in printer_friendly_bottom.php (patch #542367), and
     make it so that printer friendly uses black-on-white colors in stead
     of the theme colors.
   - Fixed return address of MDN receipts when having multiple identities
     (patch #530139).
-       
+
 Version 1.2.5 -- 22 February 2002
 ---------------------------------
   - Multiple mailbox list calls cached.
 Version 1.2.5 -- 22 February 2002
 ---------------------------------
   - Multiple mailbox list calls cached.
@@ -372,11 +509,11 @@ Version 1.2.4 -- 25 January 2002
 --------------------------------
   - Fixes a nasty remote arbitrary command execution vulnerability
     in the spellchecker plugin.
 --------------------------------
   - Fixes a nasty remote arbitrary command execution vulnerability
     in the spellchecker plugin.
-       
+
 Version 1.2.3 -- 21 January 2002
 --------------------------------
   - Fixed focus system on pages that contain forms.
 Version 1.2.3 -- 21 January 2002
 --------------------------------
   - Fixed focus system on pages that contain forms.
-  - Fixed IMAP code to send different command identifiers as per 
+  - Fixed IMAP code to send different command identifiers as per
     section 2.2.1 of RFC 2060.
   - Fixed 'sticky priority' so that replies are set to the same
     priority as the original message.
     section 2.2.1 of RFC 2060.
   - Fixed 'sticky priority' so that replies are set to the same
     priority as the original message.
@@ -393,13 +530,13 @@ Version 1.2.3 -- 21 January 2002
   - Fixed a bug appearing on some apache virtual hosts
   - Fixed javascript error (#505255)
   - Fixed the db_prefs so they work again (#499609, thanks to Simon Dick)
   - Fixed a bug appearing on some apache virtual hosts
   - Fixed javascript error (#505255)
   - Fixed the db_prefs so they work again (#499609, thanks to Simon Dick)
-       
+
 Version 1.2.2 -- 1 January 2002
 -------------------------------
 
 Version 1.2.2 -- 1 January 2002
 -------------------------------
 
-  - Fixed an infinite loop in printer friendly when wrapping option 
-    is not in the prefs. 
-    Bug reported by Boris Manojlovic <steki@verat.net>  
+  - Fixed an infinite loop in printer friendly when wrapping option
+    is not in the prefs.
+    Bug reported by Boris Manojlovic <steki@verat.net>
   - Html cleanup, with patch from Dave Huang (#496712)
   - Fixed a problem saving prefs when using PHP 4.1
   - Russian, Thai, Swedish, Dutch and French update.
   - Html cleanup, with patch from Dave Huang (#496712)
   - Fixed a problem saving prefs when using PHP 4.1
   - Russian, Thai, Swedish, Dutch and French update.
@@ -476,7 +613,7 @@ Version 1.2.0-rc3 -- 2 December 2001
     Squirrelmail distribution
   - First half of a rewrite of the option pages code
   - The Paginator!!!
     Squirrelmail distribution
   - First half of a rewrite of the option pages code
   - The Paginator!!!
-  - Other stuff that I don't recall (developers, please fill this in!) 
+  - Other stuff that I don't recall (developers, please fill this in!)
 
 Version 1.1.3 -- (never really released)
 ----------------------------------------
 
 Version 1.1.3 -- (never really released)
 ----------------------------------------
@@ -490,7 +627,7 @@ Version 1.1.3 -- (never really released)
   - Added language aliasing
   - Added Turkish translation
 
   - Added language aliasing
   - Added Turkish translation
 
-Version 1.1.2 -- May 21, 2001 
+Version 1.1.2 -- May 21, 2001
 -----------------------------
   - Many bugs squashed
   - Several UI tweaks and improvements
 -----------------------------
   - Many bugs squashed
   - Several UI tweaks and improvements
@@ -498,7 +635,7 @@ Version 1.1.2 -- May 21, 2001
   - Updated Czech translation
   - Support for multiple identities
   - Support for Russian Apache removed. It is now deemed easier to just
   - Updated Czech translation
   - Support for multiple identities
   - Support for Russian Apache removed. It is now deemed easier to just
-    turn off Charset Recoding in the Russian Apache config. See the file 
+    turn off Charset Recoding in the Russian Apache config. See the file
     doc/README.russian_apache
 
 Version 1.1.1 -- April 30, 2001
     doc/README.russian_apache
 
 Version 1.1.1 -- April 30, 2001
@@ -507,7 +644,7 @@ Version 1.1.1 -- April 30, 2001
   - Made validate.php include a few more standard things
   - Corrected a bug when sending an email properly
 
   - Made validate.php include a few more standard things
   - Corrected a bug when sending an email properly
 
-Version 1.1.0 -- April 21, 2000 
+Version 1.1.0 -- April 21, 2000
 -------------------------------
   - Added option to have signout page redirect to another page (patch from
     Scott Bronson) This can be configured in conf.pl (Org Prefs)
 -------------------------------
   - Added option to have signout page redirect to another page (patch from
     Scott Bronson) This can be configured in conf.pl (Org Prefs)
@@ -538,15 +675,15 @@ Version 1.0.6 -- April 19, 2001
   - Updated German translation (thanks to Ronald Bauerschmidt <rb@debian.org>)
   - Updated Finnish help files
 
   - Updated German translation (thanks to Ronald Bauerschmidt <rb@debian.org>)
   - Updated Finnish help files
 
-Version 1.0.5 -- April 17, 2001 
+Version 1.0.5 -- April 17, 2001
 -------------------------------
   - MAJOR security issues addressed.  Please upgrade as soon as possible.
   - Downloading attachments should work better due to a tip by Ray Black III.
   - Fixed bug with drop-down folder list not containing INBOX
   - Added Swedish help files Teemu Junnila <teejun@vallcom.com>
   - Added Italian help files Antonetti Roberto <antonr@piceniaweb.com>
 -------------------------------
   - MAJOR security issues addressed.  Please upgrade as soon as possible.
   - Downloading attachments should work better due to a tip by Ray Black III.
   - Fixed bug with drop-down folder list not containing INBOX
   - Added Swedish help files Teemu Junnila <teejun@vallcom.com>
   - Added Italian help files Antonetti Roberto <antonr@piceniaweb.com>
-  
-Version 1.0.4 -- April 9, 2001 
+
+Version 1.0.4 -- April 9, 2001
 ------------------------------
   - Fixed some bugs with folder creation
   - Security fix for UW IMAP server to disallow folder paths outside of
 ------------------------------
   - Fixed some bugs with folder creation
   - Security fix for UW IMAP server to disallow folder paths outside of
@@ -555,7 +692,7 @@ Version 1.0.4 -- April 9, 2001
   - Made subject column take up whatever width is available
   - Added bcc to html addressbook search
 
   - Made subject column take up whatever width is available
   - Added bcc to html addressbook search
 
-Version 1.0.3 -- March 9, 2001 
+Version 1.0.3 -- March 9, 2001
 ------------------------------
   - Many i18n enhancements/fixes
   - Fixed bug with default theme path being set incorrectly
 ------------------------------
   - Many i18n enhancements/fixes
   - Fixed bug with default theme path being set incorrectly
@@ -566,23 +703,23 @@ Version 1.0.3 -- March 9, 2001
   - Updated Norwegian translation
   - Updated Brazillian Portuguise translation
 
   - Updated Norwegian translation
   - Updated Brazillian Portuguise translation
 
-Version 1.0.2 -- February 8, 2001 
+Version 1.0.2 -- February 8, 2001
 ---------------------------------
 ---------------------------------
-  - Added a workaround for RedHat's 4.0.4pl1-3 binary package  (It's also 
+  - Added a workaround for RedHat's 4.0.4pl1-3 binary package  (It's also
     the same workaround for Konqueror and other PHP installations?)
   - Select All works through the search
   - Better escaped string handling from POST variables
   - Many more code cleanups and optimizations
   - Added Hungarian translation by Teemu Junnila <teejun@vallcom.com>
     the same workaround for Konqueror and other PHP installations?)
   - Select All works through the search
   - Better escaped string handling from POST variables
   - Many more code cleanups and optimizations
   - Added Hungarian translation by Teemu Junnila <teejun@vallcom.com>
-  - Added Icelandic translation by Karl Heiðar" <karlh@macho.is>
+  - Added Icelandic translation by Karl Heiðar <karlh@macho.is>
   - Updated Taiwan translation
   - Updated Taiwan translation
-  - Updated Sweedish translation
+  - Updated Swedish translation
   - Updated Finnish translation
 
   - Updated Finnish translation
 
-Version 1.0.1 -- February 1, 2001 
+Version 1.0.1 -- February 1, 2001
 ---------------------------------
   - Improved the way sqimap_read_data() is handled
 ---------------------------------
   - Improved the way sqimap_read_data() is handled
-  - Sped up "no sorting" even more 
+  - Sped up "no sorting" even more
   - Fixed problems with sending messages
   - Fixed some pass-by-reference calls that caused problems with newer
     PHP versions
   - Fixed problems with sending messages
   - Fixed some pass-by-reference calls that caused problems with newer
     PHP versions
@@ -594,7 +731,7 @@ Version 1.0.1 -- February 1, 2001
   - If subject is > 55 chars, trims it and puts "..." in message list
   - Hundreds of minor changes to remove all verbose PHP warning messages
 
   - If subject is > 55 chars, trims it and puts "..." in message list
   - Hundreds of minor changes to remove all verbose PHP warning messages
 
-Version 1.0 -- January 30, 2001 
+Version 1.0 -- January 30, 2001
 -------------------------------
   - Updated config_default.php to include attachment_common plugin
     (now in distribution)
 -------------------------------
   - Updated config_default.php to include attachment_common plugin
     (now in distribution)
@@ -602,7 +739,7 @@ Version 1.0 -- January 30, 2001
   - Fixed problems in sqimap_read_body(), made it more reliable
   - Added French translation of help files by  gore K <gore_k@ymca-cepiere.org>
   - Added Finnish translation by Teemu Junnila <teejun@vallcom.com>
   - Fixed problems in sqimap_read_body(), made it more reliable
   - Added French translation of help files by  gore K <gore_k@ymca-cepiere.org>
   - Added Finnish translation by Teemu Junnila <teejun@vallcom.com>
-  - Updated Sweedish translation
+  - Updated Swedish translation
   - Updated Russian translation
 
 
   - Updated Russian translation
 
 
@@ -610,7 +747,7 @@ Version 1.0 -- January 30, 2001
 *** Squirrelmail Development Series 1.0 Pre-Releases ***
 ********************************************************
 
 *** Squirrelmail Development Series 1.0 Pre-Releases ***
 ********************************************************
 
-Version 1.0pre3 -- January 22, 2001 
+Version 1.0pre3 -- January 22, 2001
 -----------------------------------
   - Fixed some "Select All" bugs
   - Finally fixed the IE/SSL download problem!!
 -----------------------------------
   - Fixed some "Select All" bugs
   - Finally fixed the IE/SSL download problem!!
@@ -621,7 +758,7 @@ Version 1.0pre3 -- January 22, 2001
   - Updated Czech translation
   - Updated Korean translation
 
   - Updated Czech translation
   - Updated Korean translation
 
-Version 1.0pre2 -- January 15, 2001 
+Version 1.0pre2 -- January 15, 2001
 -----------------------------------
   - A number of security fixes
   - Replaced error messages with better, formatted, and meaningful messages.
 -----------------------------------
   - A number of security fixes
   - Replaced error messages with better, formatted, and meaningful messages.
@@ -640,7 +777,7 @@ Version 1.0pre2 -- January 15, 2001
   - Added Catalan translation of Help documents by Josep Sanz <jsanz@fa.upc.es>
   - Added Taiwan translation by "ching" <ching@kiwa.com.tw>
 
   - Added Catalan translation of Help documents by Josep Sanz <jsanz@fa.upc.es>
   - Added Taiwan translation by "ching" <ching@kiwa.com.tw>
 
-Version 1.0pre1 -- December 14, 2000 
+Version 1.0pre1 -- December 14, 2000
 ------------------------------------
   - Fixed bug in sending messages with a blank line with a "."
   - Folder displays have been changed to be more readable in drop-down lists
 ------------------------------------
   - Fixed bug in sending messages with a blank line with a "."
   - Folder displays have been changed to be more readable in drop-down lists
@@ -678,16 +815,16 @@ Version 1.0pre1 -- December 14, 2000
 *** Squirrelmail 0.5 and Pre-Releases ***
 *****************************************
 
 *** Squirrelmail 0.5 and Pre-Releases ***
 *****************************************
 
-Version 0.5 -- September 25, 2000 
+Version 0.5 -- September 25, 2000
 ---------------------------------
   - Fixed some problems with downloading attachments in IE
   - If no date is set in header, we take internal date of the imap server
 ---------------------------------
   - Fixed some problems with downloading attachments in IE
   - If no date is set in header, we take internal date of the imap server
-  - Fixed some lingering bugs in mime parsing 
+  - Fixed some lingering bugs in mime parsing
   - Searching specifies CHARSET option
   - Security fixes
   - Fixed hyperlink rendering problems
 
   - Searching specifies CHARSET option
   - Security fixes
   - Fixed hyperlink rendering problems
 
-Version 0.5pre2 -- September 6, 2000 
+Version 0.5pre2 -- September 6, 2000
 ------------------------------------
   - Added quite a few new themes
   - Fixed double folder problem on some servers
 ------------------------------------
   - Added quite a few new themes
   - Fixed double folder problem on some servers
@@ -706,12 +843,12 @@ Version 0.5pre2 -- September 6, 2000
   - Added Italian translation from Aldo Moresco <moresco@idcm.it>
   - Added French translation from Ali Nedjimi <lrdfrx@club-internet.fr>
 
   - Added Italian translation from Aldo Moresco <moresco@idcm.it>
   - Added French translation from Ali Nedjimi <lrdfrx@club-internet.fr>
 
-Version 0.5pre1 -- August 9, 2000 
+Version 0.5pre1 -- August 9, 2000
 ---------------------------------
 ---------------------------------
-  - Searching folders functionality added 
+  - Searching folders functionality added
   - Date display now is similar to Netscape Messenger
   - Many bugs have been reported to the list, and been squashed
   - Date display now is similar to Netscape Messenger
   - Many bugs have been reported to the list, and been squashed
-  - Help system developed 
+  - Help system developed
   - Folder list now shows configurable details about messages
   - It is now possible to select multiple subscribes/unsubscribes
   - Removed a bunch of annoying "success" screens, improved navigation
   - Folder list now shows configurable details about messages
   - It is now possible to select multiple subscribes/unsubscribes
   - Removed a bunch of annoying "success" screens, improved navigation
@@ -722,7 +859,7 @@ Version 0.5pre1 -- August 9, 2000
   - Changed how attachments are displayed and handled
   - Rewrote MIME support from scratch, optomizing it an unbelievable amount
   - Added support for message highlighting
   - Changed how attachments are displayed and handled
   - Rewrote MIME support from scratch, optomizing it an unbelievable amount
   - Added support for message highlighting
-  - Moved Address and Send buttons on Compose form for easier access 
+  - Moved Address and Send buttons on Compose form for easier access
   - Added Polish translation from Lukasz Klimek <casa@LO.Pila.PL>
   - Added Swedish translation from Tobias Ekbom
   - Added Brazilian Portuguse translation from Henrique Moura
   - Added Polish translation from Lukasz Klimek <casa@LO.Pila.PL>
   - Added Swedish translation from Tobias Ekbom
   - Added Brazilian Portuguse translation from Henrique Moura
@@ -733,7 +870,7 @@ Version 0.5pre1 -- August 9, 2000
 *** Squirrelmail 0.4 and Pre-Releases ***
 *****************************************
 
 *** Squirrelmail 0.4 and Pre-Releases ***
 *****************************************
 
-Version 0.4 -- May 15, 2000 
+Version 0.4 -- May 15, 2000
 ---------------------------
   - If subject is blank, displays "(no subject)"
   - Fixed a few minor bugs and typos reported to list
 ---------------------------
   - If subject is blank, displays "(no subject)"
   - Fixed a few minor bugs and typos reported to list
@@ -755,7 +892,7 @@ Version 0.4pre1 -- April 29, 2000
     folder list.  This will change with 0.5.
   - Optomizations, fewer IMAP calls, more efficient sorting algorithms.
   - Fixed all bugs listed in BUG
     folder list.  This will change with 0.5.
   - Optomizations, fewer IMAP calls, more efficient sorting algorithms.
   - Fixed all bugs listed in BUG
-  - When inside the Sent folder, it displays "To" instead of "From" 
+  - When inside the Sent folder, it displays "To" instead of "From"
   - Added ability to go to Next and Previous message while reading a message
   - Caching of the message headers in mailbox (much faster)
   - Added a preference that allows users to customize how many messages
   - Added ability to go to Next and Previous message while reading a message
   - Caching of the message headers in mailbox (much faster)
   - Added a preference that allows users to customize how many messages
@@ -770,7 +907,7 @@ Version 0.4pre1 -- April 29, 2000
   - Added Subscribe/Unsubscribe to folders
   - Fixed bug in UW that didn't mark unseen messages
   - Saving sent messages into $sent_folder
   - Added Subscribe/Unsubscribe to folders
   - Fixed bug in UW that didn't mark unseen messages
   - Saving sent messages into $sent_folder
-  - It doesn't bail out if PHP wasn't compiled with --with-gettext.  
+  - It doesn't bail out if PHP wasn't compiled with --with-gettext.
     It only uses english in this case.
   - Added support for Cyrillic (thanks to Artem Botchkov for help)
   - Included information on Russian Apache from Konstantin Riabitsev
     It only uses english in this case.
   - Added support for Cyrillic (thanks to Artem Botchkov for help)
   - Included information on Russian Apache from Konstantin Riabitsev
@@ -793,7 +930,7 @@ Version 0.3 (final) -- March 10, 2000
   - Fixed a bug that wouldn't let you rename folders with UW server.
   - Other minor bugfixes
 
   - Fixed a bug that wouldn't let you rename folders with UW server.
   - Other minor bugfixes
 
-Version 0.3pre2 -- March 5, 2000 
+Version 0.3pre2 -- March 5, 2000
 --------------------------------
   - Rewrote folder deletion.  It works much more flexably now.
   - Fixed message deletion that didn't always delete the right messages.
 --------------------------------
   - Rewrote folder deletion.  It works much more flexably now.
   - Fixed message deletion that didn't always delete the right messages.