GNU bug report logs - #19192
25.0.50; TRAMP uses `dired-listing-switches' for ftp-connection

Previous Next

Package: emacs;

Reported by: Rasmus <rasmus <at> gmx.us>

Date: Wed, 26 Nov 2014 12:05:02 UTC

Severity: normal

Found in version 25.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 19192 <at> debbugs.gnu.org (full text, mbox):

From: Rasmus <rasmus <at> gmx.us>
To: michael.albinus <at> gmx.de
Cc: 19192 <at> debbugs.gnu.org
Subject: Re: bug#19192: 25.0.50;
 TRAMP uses `dired-listing-switches' for ftp-connection
Date: Wed, 10 Dec 2014 14:16:25 +0100
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:

> So far it seems to be OK, but wouldn't it be safer to disallow all
> options to ftp which start with "--"? I understand that you have checked
> it with your ftp client, but you cannot assume that everybody uses the same
> version of ftp and ls as you do. Samr for the ftp server.

As you prefer.  

This patch disallow
   (string-match "--\\w\\{2,\\}" switches)
which should be enough to capture switches starting with --, I guess.

—Rasmus

-- 
The right to be left alone is a human right
[0001-ange-ftp.el-Disallow-more-dired-ls-flags.patch (text/x-diff, attachment)]

This bug report was last modified 10 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.