From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46182 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: Fix displaying attachments with spaces etc. Date: 19 Aug 2002 16:49:03 +0100 Organization: Citrix Systems Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1029772241 19429 127.0.0.1 (19 Aug 2002 15:50:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 Aug 2002 15:50:41 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17gonb-00052t-00 for ; Mon, 19 Aug 2002 17:50:35 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17gomg-0001AA-00; Mon, 19 Aug 2002 10:49:38 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 19 Aug 2002 10:50:10 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA23221 for ; Mon, 19 Aug 2002 10:49:56 -0500 (CDT) Original-Received: (qmail 22041 invoked by alias); 19 Aug 2002 15:49:19 -0000 Original-Received: (qmail 22036 invoked from network); 19 Aug 2002 15:49:19 -0000 Original-Received: from gatekeeper.ctxuk.citrix.com (root@195.153.38.114) by gnus.org with SMTP; 19 Aug 2002 15:49:19 -0000 Original-Received: from sh.ctxuk.citrix.com (firewall.ctxuk.citrix.com [195.153.38.125]) by gatekeeper.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id QAA21647 for ; Mon, 19 Aug 2002 16:49:16 +0100 (BST) Original-Received: from uk1mailscan01 (uk1mailscan01.ctxuk.citrix.com [10.30.224.37]) by sh.ctxuk.citrix.com (8.8.7/BSCF-1.7) with SMTP id QAA22241 for ; Mon, 19 Aug 2002 16:49:16 +0100 (BST) Original-Received: from 10.30.224.101 by uk1mailscan01 (InterScan E-Mail VirusWall NT); Mon, 19 Aug 2002 16:49:15 +0100 Original-Received: by hwexch01.ctxuk.citrix.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Aug 2002 16:49:15 +0100 Original-Received: from suilven.cam.eu.citrix.com ([10.70.128.164]) by hwexch01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id RBL13AH3; Mon, 19 Aug 2002 16:49:05 +0100 Original-To: The Gnus Mailing List Original-Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-Face: wqk-$Z5Z X-Message-Flag: QOTD: I love your outfit, does it come in your size? Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46182 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46182 Please don't send me separate copies of list articles (did my "Mail-Copies-To: never" get dropped somewhere?) 0> In article = , 0> Kai Gro=DFjohann = ("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?