Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: rfc2231-parse-string: Decode encoded value after concatenating segments
Date: Tue, 26 Jul 2005 19:33:38 +0200	[thread overview]
Message-ID: <v9ll3tiia5.fsf@marauder.physik.uni-ulm.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

Hi,

this change...

,----
| 2004-12-21  Katsumi Yamaoka  <yamaoka@jpl.org>
| 
| 	* rfc2231.el (rfc2231-parse-string): Decode encoded value after
| 	concatenating segments rather than before concatenating them.
| 	Suggested by ARISAWA Akihiro <ari@mbf.ocn.ne.jp>.
`----

... 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:


[-- Attachment #2: /tmp/ste/gnus/attachment-external-body-test-directory/test-file-2.txt --]
[-- Type: message/external-body, Size: 117 bytes --]

[-- Attachment #3: Type: text/plain, Size: 534 bytes --]


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/

             reply	other threads:[~2005-07-26 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-26 17:33 Reiner Steib [this message]
2005-07-28  2:05 ` Katsumi Yamaoka

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=v9ll3tiia5.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).