Gnus development mailing list
 help / color / mirror / Atom feed
* rfc2231-parse-string: Decode encoded value after concatenating segments
@ 2005-07-26 17:33 Reiner Steib
  2005-07-28  2:05 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Reiner Steib @ 2005-07-26 17:33 UTC (permalink / 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-28  2:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26 17:33 rfc2231-parse-string: Decode encoded value after concatenating segments Reiner Steib
2005-07-28  2:05 ` Katsumi Yamaoka

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