[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19192: 25.0.50; TRAMP uses `dired-listing-switches' for ftp-connecti
From: |
Rasmus |
Subject: |
bug#19192: 25.0.50; TRAMP uses `dired-listing-switches' for ftp-connection |
Date: |
Wed, 10 Dec 2014 14:16:25 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.51 (gnu/linux) |
Michael Albinus <michael.albinus@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
Description: Text Data