Gnus development mailing list
 help / color / mirror / Atom feed
From: Toby Speight <streapadair@gmx.net>
Subject: Re: Fix displaying attachments with spaces etc.
Date: 19 Aug 2002 16:49:03 +0100	[thread overview]
Message-ID: <s84rdq97dc.fsf@suilven.cam.eu.citrix.com> (raw)
In-Reply-To: <vafofc03qy5.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>

Please don't send me separate copies of list articles (did my
"Mail-Copies-To: never" get dropped somewhere?)


0> In article <vafofc03qy5.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>,
0> Kai Großjohann <URL:mailto:Kai.Grossjohann@CS.Uni-Dortmund.DE> ("Kai") wrote:

Kai> I guess the filename is needed for some programs.  Maybe some
Kai> programs look at the filename to decide what to do with it?

Well, that's broken on their part, but if we are to support filename-based
processing, shouldn't we be using the established local filename convention
(as described in /etc/mime.types or equivalent) rather than the *sender's*
local filename convention?

I see too many exploit attempts from the Windows world using MIME
parts with a declared type that's different to the receiver's implied
(from the filename) type.  I don't want to open up GNU systems to that
sort of abuse.


Kai> But Gnus could mangle the filename to be somewhat harmless.  For
Kai> example, it could replace spaces with underscores and ticks of
Kai> all kinds and sizes, too.  That would keep the extension intact
Kai> which is probably what those programs are looking at...

Possibly all non-alphamerics (except '.') could safely be stripped or
replaced?



  reply	other threads:[~2002-08-19 15:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-13 16:02 [patch] " Hrvoje Niksic
2002-08-13 18:28 ` Simon Josefsson
2002-08-13 18:45   ` Alan Shutko
2002-08-13 19:33     ` Simon Josefsson
2002-08-13 18:45   ` Hrvoje Niksic
2002-08-13 18:47   ` Paul Jarc
2002-08-15 12:47     ` Toby Speight
2002-08-15 14:02       ` Simon Josefsson
2002-08-18 19:30       ` Kai Großjohann
2002-08-19 15:49         ` Toby Speight [this message]
2002-08-19 15:54           ` list copies (was Re: Fix displaying attachments with spaces etc.) Sean Neakums
2002-08-19 16:04             ` list copies Toby Speight
2002-08-13 18:52   ` [patch] Fix displaying attachments with spaces etc Björn Torkelsson
2002-12-29 22:50 ` Lars Magne Ingebrigtsen

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=s84rdq97dc.fsf@suilven.cam.eu.citrix.com \
    --to=streapadair@gmx.net \
    /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).