RE: Priorities and attachments
- From: Philip Van Hoof <spam pvanhoof be>
- To: Dirk-Jan Binnema nokia com
- Cc: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: RE: Priorities and attachments
- Date: Fri, 23 Mar 2007 17:20:33 +0100
On Fri, 2007-03-23 at 17:08 +0100, Philip Van Hoof wrote:
> > Note that you probably need to do a case-insensitive match for
> > all of these cases in the strstr; (camel_header_raw_find *is*
> > case-insensitive).
>
> Yes, you are right. It should be a strcasestr. But I'm not yet sure
> whether the Content-Type is the best header for this. I'll ask around
> first.
I committed a fix for this in 1744. Note that strcasestr doesn't exist
on NON GNU libc-s (or might not exist). I have put an implementation in
place for in that case.
> > (BTW, I noticed that eg. tny_mime_part_has_content_type does not
> > match case-insensitively)
>
> I'm already waiting for your patch :) (I think it should do it case
> insensitively and have it documented that way).
I haven't yet committed a fix for this one.
--
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://www.pvanhoof.be/blog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]