From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67004 Path: news.gmane.org!not-for-mail From: Joao Cachopo Newsgroups: gmane.emacs.gnus.general Subject: Re: Make rfc2231-decode-encoded-string more robust Date: Fri, 30 May 2008 11:25:51 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1212143191 10218 80.91.229.12 (30 May 2008 10:26:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2008 10:26:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15475@lists.math.uh.edu Fri May 30 12:27:12 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1K21pG-0007Hf-Jy for ding-account@gmane.org; Fri, 30 May 2008 12:27:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1K21oK-0007SQ-Az; Fri, 30 May 2008 05:26:12 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1K21oJ-0007SB-7i for ding@lists.math.uh.edu; Fri, 30 May 2008 05:26:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1K21oC-00054s-P1 for ding@lists.math.uh.edu; Fri, 30 May 2008 05:26:11 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1K21oS-0005pO-00 for ; Fri, 30 May 2008 12:26:20 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K21o9-0008TF-9Q for ding@gnus.org; Fri, 30 May 2008 10:26:01 +0000 Original-Received: from esw-gw.inesc-id.pt ([146.193.33.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 May 2008 10:26:01 +0000 Original-Received: from joao by esw-gw.inesc-id.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 May 2008 10:26:01 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: esw-gw.inesc-id.pt User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1.91 (darwin) Cancel-Lock: sha1:pvk/lwau97qrRQ7jP2L0EteqIRE= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67004 Archived-At: Katsumi Yamaoka writes: > 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. That's fine, provided that it solves the problem. I've still not checked your change, but it's not clear from your description that you deal with the case where the '%' is at the end of the string. That is, there is nothing following it. That's what was causing the errors that I've seen. Best regards, -- Joćo Cachopo