Gnus development mailing list
 help / color / mirror / Atom feed
From: "Edward J. Sabol" <sabol@alderaan.gsfc.nasa.gov>
Subject: Re: pgnus-0.33: multipart/mixed: usage of filename?
Date: Thu, 1 Oct 1998 14:33:17 -0400	[thread overview]
Message-ID: <199810011833.OAA19436@alderaan.gsfc.nasa.gov> (raw)
In-Reply-To: <m3soh8mkm2.fsf@sparky.gnus.org> (message from Lars Magne Ingebrigtsen on 01 Oct 1998 16:18:13 +0200)

Excerpts from mail: (01-Oct-98) Re: pgnus-0.33: multipart/mixed: usage of filename? by Lars Magne Ingebrigtsen
> Jan Vroonhof <vroonhof@math.ethz.ch> writes:
>>>> Just use ONLY the base name in a auto generated tempdir, like gnus-uu
>>>> does.
>>> 
>>> You mean only the suffix?
>> 
>> Thats probably even better.
>
> Doing so would make sense, but if the file name characters are
> properly translated and quoted, wouldn't it be nice to have the full
> real names of the files available in the external viewer?  

I would much rather have the real file name! I think that if you get an
e-mail with a MIME object whose name is "/foo/bar/blah/whatever", then Gnus
should save the file as "whatever" in a directory that you specify in a
configuration variable. I.e., parse out the filename and override any
directory specification in the name. This way if someone sends root a
text/plain MIME object with Content-Disposition set to attachment and name
set to "/etc/passwd", the won't get saved in /etc/passwd, but will instead be
saved in /tmp/passwd (or whereever you have your gnus-mime-save-directory
configuration variable set to).

Later,
Ed


  reply	other threads:[~1998-10-01 18:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-25  9:29 Kai Grossjohann
1998-09-25  9:31 ` Kai Grossjohann
1998-09-28  9:14 ` Robert Bihlmeyer
1998-09-29 10:40 ` Lars Magne Ingebrigtsen
1998-09-29 12:59   ` Jan Vroonhof
1998-10-01  2:40     ` Lars Magne Ingebrigtsen
1998-10-01  9:02       ` Jan Vroonhof
1998-10-01 14:18         ` Lars Magne Ingebrigtsen
1998-10-01 18:33           ` Edward J. Sabol [this message]
1998-10-02  2:47             ` Lars Magne Ingebrigtsen
1998-10-02 10:48             ` grossjohann
1998-10-02 12:29               ` Simon Josefsson
1998-10-10 21:45                 ` Lars Magne Ingebrigtsen
1998-10-02  9:01           ` Jan Vroonhof
1998-10-10 21:41             ` Lars Magne Ingebrigtsen
1998-10-10 23:28               ` Kai Grossjohann
1998-10-11  0:17                 ` Lars Magne Ingebrigtsen
1998-10-12  9:52                   ` Jan Vroonhof
1998-10-12 13:10                     ` 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=199810011833.OAA19436@alderaan.gsfc.nasa.gov \
    --to=sabol@alderaan.gsfc.nasa.gov \
    /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).