From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54051 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Saving attachments with a leading dot Date: Wed, 24 Sep 2003 12:03:30 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nsmmm9nsd.fsf@lockgroove.bwh.harvard.edu> References: <4n1xu6ckqx.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064419443 16317 80.91.224.253 (24 Sep 2003 16:04:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2003 16:04:03 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M2591@lists.math.uh.edu Wed Sep 24 18:04:01 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2C7V-0003Ih-00 for ; Wed, 24 Sep 2003 18:04:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1A2C7M-0006mA-00; Wed, 24 Sep 2003 11:03:52 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A2C7F-0006m4-00 for ding@lists.math.uh.edu; Wed, 24 Sep 2003 11:03:45 -0500 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id D17C63A004C for ; Wed, 24 Sep 2003 11:03:44 -0500 (CDT) Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h8OG3a721609; Wed, 24 Sep 2003 12:03:36 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h8OG3UT03348; Wed, 24 Sep 2003 12:03:30 -0400 (EDT) Original-To: Benjamin Riefenstahl X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: Benjamin Riefenstahl , ding@gnus.org In-Reply-To: (Benjamin Riefenstahl's message of "Wed, 24 Sep 2003 17:11:54 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54051 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54051 On Wed, 24 Sep 2003, Benjamin.Riefenstahl@epost.de wrote: > I'd have to check the standards for myself for the official rules. > But a test mail to find out how the transfer encoding for filenames > can look like and a quick modification of that mail shows that this > does what I meant: > >>>>>>> > Subject: test nl in attachment From: Benjamin Riefenstahl > Message-ID: > MIME-Version: 1.0 > Content-Type: application/octet-stream Content-Disposition: > attachment; filename*=iso-8859-1''%0arm%20somefile Lines: 2 > > Any content > > <<<<<<< > > This results in the filename "\nrm somefile" (in C literal syntax). > This could have bad effects, if the file is saved with that name and > later used with some shell script. That script might even just be > your nightly backup. I'd say Gnus should warn the user and offer an alternative, but allow saving this file since there are legitimate cases where it can be useful. Ted