From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 5 11:30:09 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7903F16A484 for ; Tue, 5 Jun 2007 11:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6621913C45B for ; Tue, 5 Jun 2007 11:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l55BU8Sw011122 for ; Tue, 5 Jun 2007 11:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l55BU8tf011120; Tue, 5 Jun 2007 11:30:08 GMT (envelope-from gnats) Date: Tue, 5 Jun 2007 11:30:08 GMT Message-Id: <200706051130.l55BU8tf011120@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bruce Cran Cc: Subject: Re: misc/113336: ftpd doesn't handle filenames which contain curly ?brackets X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Cran List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 11:30:09 -0000 The following reply was made to PR bin/113336; it has been noted by GNATS. From: Bruce Cran To: freebsd-bugs@FreeBSD.ORG, bug-followup@FreeBSD.org, olli@lurza.secnetix.de Cc: Subject: Re: misc/113336: ftpd doesn't handle filenames which contain curly ?brackets Date: Tue, 05 Jun 2007 12:28:48 +0100 Oliver Fromme wrote: > Bruce Cran wrote: > > When trying to fetch files from a server running the ftpd from > > /usr/libexec, ftpd apparently removes curly brackets from filenames > > before trying to read them from the filesystem. > > ftpd performs filename globbing, i.e. it interprets > the wildcards "?", "*" and "[...]", and additionally > it expands csh-like brace expressions. > > In other words: What you see is expected behaviour, > not a bug. Try prepending a backslash in front of > the braces, i.e.: get guid_\{1234567890\}_file.txt > > (I haven't tested this ... It might be possible that > the FTP client removes one level of backslashes, so > in that case you need to write two backslashes each.) > > Best regards > Oliver > Thanks, it works with FreeBSD's FTP client when I use two backslashes. Regards, Bruce