Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Joao Cachopo <joao@cachopo.org>
Cc: ding@gnus.org
Subject: Re: Make rfc2231-decode-encoded-string more robust
Date: Fri, 30 May 2008 19:06:51 +0900	[thread overview]
Message-ID: <b4mfxs014xv.fsf@jpl.org> (raw)
In-Reply-To: <m2prs0ec28.fsf@cachopo.org>

>>>>> Joao Cachopo wrote:

> Once in a while I receive an email that Gnus fails to show, giving an
> error in rfc2231-decode-encoded-string.  As far as I could see, the
> problem is with the email message, that has an incorrectly formed
> RFC2231 string somewhere within it.  More specifically, the string ends
> with '%'.  Probably, this is due to some broken MUA out there.

> Still, I think that Gnus should handle this case more gracefully, rather
> than not showing the email at all.

> Therefore, I propose the following change to the
> rfc2231-decode-encoded-string to make it more robust.

I think that function should never stop Gnus whatever happens;
at least things other than the attachment in question should be
displayed.  Thank you for the patch, but I've modified it in
another way in the Gnus trunk.  It ignores things that are not
2-digit hexadecimal characters that follow `%'s.

Regards,



  reply	other threads:[~2008-05-30 10:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 20:22 Joao Cachopo
2008-05-30 10:06 ` Katsumi Yamaoka [this message]
2008-05-30 10:25   ` Joao Cachopo
2008-05-30 10:32     ` Katsumi Yamaoka
2008-05-30 10:40       ` Joao Cachopo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mfxs014xv.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=joao@cachopo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).