Gnus development mailing list
 help / color / mirror / Atom feed
* Saving attachments with a leading dot
@ 2003-09-23 23:39 Jesper Harder
  2003-09-24 10:38 ` Ted Zlatanov
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Jesper Harder @ 2003-09-23 23:39 UTC (permalink / raw)


RFC 2183 says:

,----
|    Since this memo provides a way for the sender to suggest a filename,
|    a receiving MUA must take care that the sender's suggested filename
|    does not represent a hazard. Using UNIX as an example, some hazards
|    would be:
| 
|    +    Creating startup files (e.g., ".login").
| 
|    +    Creating or overwriting system files (e.g., "/etc/passwd").
| 
|    +    Overwriting any existing file.
| 
|    +    Placing executable files into any command search path
|         (e.g., "~/bin/more").
| 
|    +    Sending the file to a pipe (e.g., "| sh").
| 
|    In general, the receiving MUA should not name or place the file such
|    that it will get interpreted or executed without the user explicitly
|    initiating the action.
| 
|    It is very important to note that this is not an exhaustive list; it
|    is intended as a small set of examples only.  Implementors must be
|    alert to the potential hazards on their target systems.
`----

Gnus doesn't prevent creating startup files.  We could:

· Strip leading dots from file names, or

· Set the default value of `mm-default-directory' to somewhere
  (where?), so attachments aren't saved in ~.

WDYT?

Any other nasty file names we should watch out for?



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2003-10-19 11:14 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-23 23:39 Saving attachments with a leading dot Jesper Harder
2003-09-24 10:38 ` Ted Zlatanov
2003-09-25  3:24   ` Jesper Harder
2003-09-25  4:22     ` Ted Zlatanov
2003-09-25  5:49       ` Jochen Küpper
2003-09-29  3:28         ` Jesper Harder
2003-10-02 18:07           ` Ted Zlatanov
2003-10-02 19:56             ` Jochen Küpper
2003-10-03  1:35             ` Jesper Harder
2003-10-03 14:04               ` Benjamin Riefenstahl
2003-10-02 18:10         ` Ted Zlatanov
2003-09-24 13:53 ` Benjamin Riefenstahl
2003-09-24 14:40   ` Ted Zlatanov
2003-09-24 15:11     ` Benjamin Riefenstahl
2003-09-24 16:03       ` Ted Zlatanov
2003-09-24 16:16         ` Benjamin Riefenstahl
2003-09-24 17:45           ` Ted Zlatanov
2003-09-24 15:48 ` Reiner Steib
2003-09-24 16:11   ` Benjamin Riefenstahl
2003-09-25 14:40     ` Reiner Steib
2003-09-25  3:23   ` Jesper Harder
2003-09-25  8:44 ` Hanak David
2003-09-29  3:20   ` Jesper Harder
2003-10-17 17:31     ` Lars Magne Ingebrigtsen
2003-10-18 16:43       ` Jesper Harder
2003-10-18 16:50         ` Lars Magne Ingebrigtsen
2003-10-18 20:04           ` Jesper Harder
2003-10-18 23:17           ` Jesper Harder
2003-10-19 11:14             ` Lars Magne Ingebrigtsen

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).