From: Greg Troxel <gdt@work.lexort.com>
To: ding@gnus.org
Subject: bad boundary choice in forwarded multipart/signed multipart/mixed
Date: Thu, 29 Apr 2010 11:11:22 -0400 [thread overview]
Message-ID: <smumxwmcmzp.fsf@linuxpal.mit.edu> (raw)
[-- Attachment #2: Type: text/plain, Size: 1074 bytes --]
Using gnus from CVS about a month ago I forwarded one of my own signed
messages that itself contained a forwarded message, and a colleague
pointed out that the MIME boundary string had been reused. That
particular example can't be sent to this list, but I managed to
reproduce the problem with test messages.
The inner test message had boundary =-=-= originally. That got remapped
whent he message was forwarded, which I suppose is ok. But it got
remaped to ===-=-= and that's the same value that was chosen for the
outer message's multipart/signed.
The below was generated with current CVS head epg and gnus git as of:
commit 3aa91c009017b508c0f6298f7e8ee3a622bdccc2
Author: Katsumi Yamaoka <yamaoka@jpl.org>
Date: Tue Apr 27 06:38:57 2010 +0000
Don't load tm and apel XEmacs packages when compiling.
It looks like the key code is in mml.el in gnus, but I haven't
understood it yet.
Is perhaps the issue that the multipart/signed code is called without
the forwarded heder visible, and then the forwarded header is also
changed to the same value.
[-- Attachment #3: Type: message/rfc822, Size: 1745 bytes --]
[-- Attachment #3.1.1.1: Type: text/plain, Size: 49 bytes --]
forward of multipart/mixed as multipart/signed
[-- Attachment #3.1.1.2: Type: message/rfc822, Size: 88 bytes --]
[-- Attachment #3.1.2: Type: text/plain, Size: 31 bytes --]
Test multipart/mixed message.
[-- Attachment #3.1.3: foo.txt --]
[-- Type: text/plain, Size: 40 bytes --]
test attachment
--===-=-=--
--=-=-=--
[-- Attachment #3.1.4: Type: application/pgp-signature, Size: 194 bytes --]
next reply other threads:[~2010-04-29 15:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 15:11 Greg Troxel [this message]
2010-05-01 7:17 ` Andreas Seltenreich
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=smumxwmcmzp.fsf@linuxpal.mit.edu \
--to=gdt@work.lexort.com \
--cc=ding@gnus.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).