From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17556 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: pgnus-0.33: multipart/mixed: usage of filename? Date: 02 Oct 1998 14:29:11 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <199810011833.OAA19436@alderaan.gsfc.nasa.gov> <861zor6xyi.fsf@slowfox.do.uunet.de> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156234 1524 80.91.224.250 (20 Oct 2002 23:23:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:23:54 +0000 (UTC) Cc: "Edward J. Sabol" , Gnus Mailing List Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA05594 for ; Fri, 2 Oct 1998 08:30:50 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id HAF10325; Fri, 2 Oct 1998 07:01:31 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 02 Oct 1998 07:30:22 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id HAA23653 for ; Fri, 2 Oct 1998 07:30:02 -0500 (CDT) Original-Received: from xiphias.pdc.kth.se (xiphias.pdc.kth.se [130.237.221.226]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA05572 for ; Fri, 2 Oct 1998 08:29:46 -0400 (EDT) Original-Received: (from jas@localhost) by xiphias.pdc.kth.se (8.8.5/8.8.5) id OAA01437; Fri, 2 Oct 1998 14:29:11 +0200 (METDST) Original-To: grossjohann@amaunet.cs.uni-dortmund.de X-Now-Reading: J.D. Salinger, Uncle Wiggily in Connecticut In-Reply-To: grossjohann@amaunet.cs.uni-dortmund.de's message of "02 Oct 1998 12:48:53 +0200" Original-Lines: 27 User-Agent: Gnus/5.070033 (Pterodactyl Gnus v0.33) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17556 grossjohann@amaunet.cs.uni-dortmund.de writes: > Lars> Doing so would make sense, but if the file name characters are > Lars> properly translated and quoted, wouldn't it be nice to have > Lars> the full real names of the files available in the external > Lars> viewer? > > >>>>> On Thu, 1 Oct 1998, Edward J Sabol said: > > EJS> I would much rather have the real file name! > > Well, rather than saving /etc/passwd in /tmp/emmXYZZY/passwd, saving > /etc/passwd in /tmp/emmXYZZY/%etc%passwd would also be a possibility. > Which is what Lars is suggesting, I think. There's no security risk > and you get the absolute pathname information. Actually then I get a useless garbage version of the pathname. :-) What if the filename contains %'s? If Gnus has to encode the filename, let's go for a something that's standard (UTF-7?) at least. I'd prefer Gnus to save it as /tmp/emmXYZZY/etc/passwd instead (of course removing all "../" in the filename for security), then I could "cp -r /tmp/emmXYZZY/* /" if I wanted to. /s