Re: [gmime-devel] Parsing of some broken multipart mime messages with gmime
- From: Jeffrey Stedfast <fejj novell com>
- To: Vsevolod Stakhov <vsevolod highsecure ru>
- Cc: gmime-devel-list gnome org
- Subject: Re: [gmime-devel] Parsing of some broken multipart mime messages with gmime
- Date: Mon, 30 Aug 2010 21:07:28 -0400
On 08/30/2010 10:03 AM, Vsevolod Stakhov wrote:
> Hi,
>
> I've found a problem with parsing messages from some spammers. Thought
> their messages are parsed and displayed by popular E-Mail clients like
> TB or Outlook. The problem is that their content-type header is look
> like this:
> Content-Type: multipart/mixed;
> boundary=----=_NextPart_000_0004_01C5OEWG.X25IPK30
>
> So gmime expects that boundary in message is ---- as '=' is special
> characters and must be enclosed in double quotes according to RFC.
> The problem is that decode_token function from gmime-param.c stops
> processing of value when it gets special character. So I'd like to ask
> is there any safe way to patch this code to "eat" some of special
> characters in detecting boundaries?
>
> Here is an example of message where gmime find no parts.
>
>
This should now be fixed in git.
Jeff
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]