Version 2.0b3 of Hypermail is finally available. The latest release can
be retrieved via
FTP: ftp://ftp.landfield.com/hypermail/hypermail.tar.gz
This is a link to the actual hypermail-2.0b3.tar.gz tar file.
You can also get to the new version via the Hypermail Development
Center located at
http://www.landfield.com/hypermail/
I am *very* interested in feedback on this version, positive or negative.
Changes in this release:
o Added validation of domains so that the generation of mailto: is
much more accurate than the previous method.
o Added support for Content-Disposition MIME Header so as to get the
filename from the header.
o Added verification of filenames to assure they are safe to use and
will not cause filesystem problems
o Fixed a problem with parsing the ending MIME boundary (it expended headers
following that)
o Found and removed a one-byte buffer overflow in the line continuation code.
o Corrected docs/hypermail.1 and TODO to reflect the proper RFC 822
parsing was actually included in version 2.0b1
o Corrected a typo in string.c that prevented the proper generation
of mailto: links for email names with numbers [0-9] in them.
o Corrected the base64 decoder error which caused files to get an
extra zero-byte appended at times. (When storing attachments to disk.)
o Added additional ported systems to the README
o Removed the "#ifndef" from the defines in options.h. We do not want to
inherit any define values from other places. If there are confilcts
then I need to correct them. Inheriting defines can lead to unforeseen
results.
o attachments:
- comments are now generated in the output mail for each attachment
that is written in a separate file. The comment looks like:
'<!-- attachment="filename" -->' in the standard comment style.
o buffers and overflows
- mdecodeRFC2047() now has an output buffer size argument
- had to remove the use of rmcr() at two places, since that function uses
a very strict static buffer limiting the maximum line length pretty bad.
- parseurl() now features an output buffer size argument
- parseemail() now features an output buffer size argument
o multipart/alternative
- added awareness and parser "intelligence" to pick the last prefered
content-type within a series of alternatives (as MIME tells us to
do). This has not yet been very thoroughly tested.
- added the preferedcontent() function that returns wether a content-type
is prefered or not (as set with hm_prefered_types). Default prefered
type is 'text/plain' (if hm_prefered_types is unused).
o output
- added the experiment function printhtml(). It strips off unwanted html
tags from the output, even if they are used in attached HTML files. I.e
<HTML> and </HTML>.
- made 'showheaders' not use <BR> or newlines since the BRs are ignored
anyway, and the newlines are already present in each header line.
- added 'hm_show_headers' which is a list of what headers to include when
the 'showheaders' option is used. For now, it also controls which
headers to show when attached mails are shown. Although I can imagine
that you'd like separate lists (since for attached mails, you'd like i.e
subject which you may not need for the main mail itself). If
'hm_show_headers' isn't used, all headers will be shown.
- made the <PRE> system in the printbody() function a little smarter, and
now it prevents multiple </PRE> and <P> tags better. It did however
introduce another side effect (although a less serious one imho) and
that is an extra pair of <PRE></PRE> after the last attachment when
using 'showhtml'.
o parsing
- made the multi-line merger function to make all lines get a regular
white space between them when they're put together. Previously, this
character was left as-is, which could be a space or a tab (or any other
isspace()) letter.
- check changed to check for "<!-- received" as the start of parsing
previous html files in the event that the archive maintainer whishes
to add comments in the header template HTML files.
- in_list() now checks for list items case insensitive
- corrected so Message-ID:, References and Supersedes: lines are not
converted into mailto: URLs.
- corrected off-by-one in isquote that was causing array boundary read
errors.
- corrected off-by-one in printbody line output that was causing array
boundary read errors.
REAL Thanks! are in order for Daniel Stenberg and David D. Kilzer. They helped
GREATLY with making this release possible by sending in enhancements, comments
and bug fixes. Thanks Guys!
Suggestions:
If you have suggestions you would like to make please post them to the
hypermail_at_landfield.com mailing list or use the Suggestion facility on
the Development Center.
Enjoy! And again, thanks to all who contributed.
--
Kent Landfield Phone: 1-817-545-2502
Email: kent_at_landfield.com http://www.landfield.com/
Please send comp.sources.misc related mail to kent_at_landfield.com
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/
Received on Fri 21 Aug 1998 05:42:28 AM GMT