From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 5 11:51:37 2007 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.ORG Delivered-To: freebsd-bugs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D98DF16A400 for ; Tue, 5 Jun 2007 11:51:37 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [80.68.94.188]) by mx1.freebsd.org (Postfix) with ESMTP id A0A8B13C43E for ; Tue, 5 Jun 2007 11:51:37 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from [192.168.0.5] (unknown [82.12.240.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id A5698409B; Tue, 5 Jun 2007 12:25:36 +0100 (BST) Message-ID: <466548F0.2000807@cran.org.uk> Date: Tue, 05 Jun 2007 12:28:48 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-bugs@FreeBSD.ORG, bug-followup@FreeBSD.org, olli@lurza.secnetix.de References: <200706041709.l54H92Mv091047@lurza.secnetix.de> In-Reply-To: <200706041709.l54H92Mv091047@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 11:51:37 -0000 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