From owner-freebsd-stable Sun Jul 8 6:54: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 2569837B403 for ; Sun, 8 Jul 2001 06:53:57 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.9.3/8.9.3) id PAA66859; Sun, 8 Jul 2001 15:53:30 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Sun, 8 Jul 2001 15:53:30 +0200 (CEST) Message-Id: <200107081353.PAA66859@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, ab@astralblue.net Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: ftpd weirdness; CWD/RETR/... handles {} specially? In-Reply-To: <20010708223111.A40664@the-7.net> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.1-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eugene M. Kim wrote: > ftpd of 4-stable apparently handles {} embedded in the argument to RETR > and CWD specially. For example, if the client send `CWD {3}', then the > ftpd will try to chdir into `3', not into `{3}'. Is this an intended > behavior, or a bug to be fixed? It's a feature. According to ftpd(8):
Ftpd interprets file names according to the ``globbing'' conventions used by csh(1). This allows users to utilize the metacharacters ``*?[]{}~''
> PS. Please don't reply only to the list, since I'm not subscribed to it. In that case I'd suggest that you set your Reply-To header appropriately. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message