Updated patch for 4.0.4. I splitted it to 4 subpatches. # Changes on flowed format are removed. I wish more suggestions.
Enhancements & Fixes
====================
sqwebmail-4.0.4-20040522-unicode.patch
unicode/*
[enh] New Unicode flags to determin recommended encoding
method for messsage header/body:
UNICODE_{HEADER,BODY}_{QUOPRI,BASE64}
sqwebmail-4.0.4-20040522-mimeheader.patch
rfc822/rfc2047.c (rfc2047_decode)
[enh] More tolerant decoder; encoded-words breaking character
boundaries will be decoded safely.
rfc822/rfc2047.c (rfc2047_encode_*)
[enh] Base64 header encoding is supported.
rfc822/rfc2047u.c (rfc2047_decode_unicode)
[enh] New option RFC2047_DECODE_REPLACE
which replaces unknown characters instead of throwing away
entire string or dumping raw bytes.
[first 3 hunks]
rfc822/rfc822.c (rfc822_print_common)
[fix] Structured header containing only one phrase will be
encoded.
[last 1 hunk]
sqwebmail-4.0.4-20040522-mimebody.patch
rfc2045/rfc2045reply (mkforward)
[enh] Decode header strings of forwarding draft body.
[first 4 hunks]
rfc2045/makemime.c
rfc822/encode.c
rfc822/encode.h
[enh] Base64 body encoding is supported.
sqwebmail-4.0.4-20040522-sqwebmail.patch
cgi/cgi.c (cgiurldecode)
[fix] 0xA0 may occur as normal octet of HTTP inputs (e.g. UTF-8).
(from Ichikawa's patch)
sqwebmail/*
[fix] Don't try to decode unencoded strings.
[fix] Encode all headers written into draft messages.
[fix] Check body charset/transfer-encoding when outgoing
message is created.
[fix] Fold headers of messages.
NOTE:
Please update
rfc2045/Makefile.in
authlib/Makefile.in
Known Bugs
==========
+ Comma in quoted string splits names in To:, Cc: and Bcc: headers
of outgoing messages (From: and Reply-To: don't).
+ RFC2047 quoted-printable encoder does not take care of
character boundaries of multibyte or SI/SO string.
+ RFC2646 encoder does not take care of character boundaries of
multibyte or SI/SO string.
+ Text/plain attachment is assigned charset parameter as HTTP
content charset.
--- nezumi
sqwebmail-4.0.4-20040522.tar.gz
Description: GNU Zip compressed data
