Paul Lesniewski | 16 Sep 2009 02:12
Favicon

Proposed change to encodeHeader()

All,

  Sorry for the cross-post (to the devel list), but I wanted to catch
the attention of anyone using different charsets with SquirrelMail and
see if they had any feedback on this issue.  At the least, maybe
people here would be willing to test the attached patch and see if it
causes any issues.  Thanks.

  I was looking into a problem where encoded FROM headers weren't
being quoted, which causes problems when replying if they have a comma
in them.  US-ASCII (non-encoded) FROM headers are always encased in
quotes for this very reason I believe (in case a comma is found
within).

  It depends on the charset/encoding in question (any language can
provide its own encoding via XTRA_CODE in the language setup (I didn't
check those routines), and other multibyte character sets use the
encodeHeaderBase64() function), but if the code in encodeHeader() is
used, quotes around the full name part of the email address can cause
problems because they are not always encoded.  I didn't dissect the
code in this function (which is why I'm asking), but found that adding
a simple test for quotes "fixes" this issue.

--- functions/mime.php  (revision 13833)
+++ functions/mime.php  (working copy)
 <at>  <at>  -789,6 +789,7  <at>  <at> 
     for($i = 0; $i < $j; ++$i) {
         switch($string{$i})
         {
+            case '"':
(Continue reading)

Andrea Volani | 29 Sep 2009 15:53
Picon

[Italian] Updates for HEAD squirrelmail.po file

Up-to date to current HEAD revision

Attachment (squirrelmail.zip): application/zip, 41 KiB
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
-----
squirrelmail-i18n mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
Information about translations: http://squirrelmail.org/wiki/LanguageTranslation
Statistics for translations: http://l10n-stats.squirrelmail.org/
List address: squirrelmail-i18n <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n

Gmane