From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60638 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: rfc2231-parse-string: Decode encoded value after concatenating segments Date: Tue, 26 Jul 2005 19:33:38 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1122494244 6436 80.91.229.2 (27 Jul 2005 19:57:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2005 19:57:24 +0000 (UTC) Original-X-From: ding-owner+M9168@lists.math.uh.edu Wed Jul 27 21:57:21 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dxs13-0000ID-5g for ding-account@gmane.org; Wed, 27 Jul 2005 21:56:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Dxbx7-00021e-00; Tue, 26 Jul 2005 21:47:25 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DxTQH-00010g-00 for ding@lists.math.uh.edu; Tue, 26 Jul 2005 12:40:57 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DxTQG-0003xW-ID for ding@lists.math.uh.edu; Tue, 26 Jul 2005 12:40:56 -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 1DxTQF-0000dw-00 for ; Tue, 26 Jul 2005 19:40:55 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DxTQ0-00010V-Vm for ding@gnus.org; Tue, 26 Jul 2005 19:40:41 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2005 19:40:40 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2005 19:40:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 61 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s | | * rfc2231.el (rfc2231-parse-string): Decode encoded value after | concatenating segments rather than before concatenating them. | Suggested by ARISAWA Akihiro . `---- ... breaks displaying of external body parts for me if the file name spans more than one line, like this one: ,---- | Content-Type: message/external-body; | name*0*=us-ascii''%2ftmp%2fste%2fgnus%2fattachment-external-body-test-directory; | name*1*=%2ftest-file-2.txt; access-type=local-file `---- Here is an external body part: --=-=-= Content-Type: message/external-body; name*0*=us-ascii''%2ftmp%2fste%2fgnus%2fattachment-external-body-test-directory; name*1*=%2ftest-file-2.txt; access-type=local-file Content-Type: text/plain Content-ID: Content-Transfer-Encoding: binary --=-=-= When I eval revision 6.11.2.2 of rfc2231.el (evaluation the defun `rfc2231-parse-string' is sufficient) everything is displayed fine: ,---- | [2. message/external-body; test-file-2.txt]... `---- When I eval revision 6.11.2.4 (latest revision in v5-10 branch) of rfc2231.el, I get: ,---- | [2. message/external-body; us-ascii''%2ftmp%2fste%2fgnus%2fattachment-external-body-test-directory%2ftest-file-2.txt]... `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ --=-=-=--