Re: HEAD: two envelope header problems (maybe gmime related)
- From: Jeffrey Stedfast <fejj ximian com>
- To: Pawel Salek <pawsa theochem kth se>
- Cc: Albrecht Dreß <albrecht dress arcor de>, Balsa-Liste <balsa-list gnome org>
- Subject: Re: HEAD: two envelope header problems (maybe gmime related)
- Date: Sat, 07 Aug 2004 21:04:41 -0400
On Sat, 2004-08-07 at 14:20, Pawel Salek wrote:
> On 08/07/2004 01:37:40 PM, Albrecht Dreß wrote:
> > Hi,
> >
> > I discovered two envelope header problems, which may actually be
> > gmime
> >
> > 2.1.7 features/bugs [therefore the cc to Jeff] as they are not
> > present
> > in
> > balsa 2.0:
> >
> > (1) Apparently tabs in some (all?) headers are not replaced by
> > spaces which displays ulgy in balsa (see shot below). I'm not sure
> > if this should be done in gmime or in balsa itself, but IMHO gmime
> > would be the better place as the <cr><lf><whitspace> sequence MUST
> > be regarded as a single space according to the rfc's.
>
> This could be done both in gmime and in balsa - depending whether the
> gmime's API is defined to return canonized strings or not. I do not see
> this issue mentioned in the doc. g_mime_header_get() says only "the
> value of the header requested". I guess we can do it on balsa side
> unless Jeff plans to do it for other purpose. In such a case, it might
> worth to mention this in the doc that the headers may be returned in a
> incanonical form.
the rfc doesn't say to replace tabs with SPACE, it says simply that
unfolding a header involves removing of the CRLF leaving only the WSP
(which includes ' ' and '\t')
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]