Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: The Gnus Mailing List <ding@gnus.org>
Subject: Re: Fix displaying attachments with spaces etc.
Date: Sun, 18 Aug 2002 21:30:26 +0200	[thread overview]
Message-ID: <vafofc03qy5.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <s8n0roe1bf.fsf_-_@suilven.cam.eu.citrix.com> (Toby Speight's message of "15 Aug 2002 13:47:16 +0100")

Toby Speight <streapadair@gmx.net> writes:

> I wonder if it's sufficient to (when (search-forward "'%s'" nil t)
> (replace-match "%s" t t command)) to take care of this particular
> case.  Personally, I'd feel a lot more comfortable if Gnus ignored the
> sender's suggested filename except when saving to a permanent file,
> and used a randomly-generated name for viewing, in the same way that
> W3 does.  I don't like the idea of trusting the author, no matter how
> careful Gnus is.

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

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

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



  parent reply	other threads:[~2002-08-18 19:30 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 [this message]
2002-08-19 15:49         ` Toby Speight
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=vafofc03qy5.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.org \
    /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).