From: Dmitri Paduchikh <dpaduch@k66.ru>
To: ding@gnus.org
Subject: application/octet-stream sent as 7bit
Date: Sun, 30 Aug 2009 19:42:01 +0600 [thread overview]
Message-ID: <87zl9hpgeu.fsf@paduch.telenet.ru> (raw)
Hello!
In some cases Gnus sends application/octet-stream attachments in
unencoded form:
,----
| --=-=-=
| Content-Type: application/octet-stream
| Content-Disposition: attachment; filename=test.sh
|
| #!/bin/sh
| echo test
`----
I am concerned that contents can change when transferring a message.
Think of EOL conversions, ">From " stuff, etc. Such changes can corrupt
shell script, for example.
In general, RFC 2046 says that application/octet-stream denotes
arbitrary binary data. For arbitrary binary data I would expect that it
is transferred exactly as is, even if it looks like a 7-bit text.
--
Dmitri Paduchikh
next reply other threads:[~2009-08-30 13:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-30 13:42 Dmitri Paduchikh [this message]
2009-09-03 11:28 ` Katsumi Yamaoka
2009-09-03 15:59 ` Dmitri Paduchikh
2009-09-04 0:31 ` Katsumi Yamaoka
2009-09-04 13:51 ` Dmitri Paduchikh
2009-09-07 8:37 ` 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=87zl9hpgeu.fsf@paduch.telenet.ru \
--to=dpaduch@k66.ru \
--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).