From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 4 17:09:26 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 2AFA416A400; Mon, 4 Jun 2007 17:09:26 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id A804713C44B; Mon, 4 Jun 2007 17:09:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (kvenmb@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l54H92jw091048; Mon, 4 Jun 2007 19:09:08 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l54H92Mv091047; Mon, 4 Jun 2007 19:09:02 +0200 (CEST) (envelope-from olli) Date: Mon, 4 Jun 2007 19:09:02 +0200 (CEST) Message-Id: <200706041709.l54H92Mv091047@lurza.secnetix.de> From: Oliver Fromme To: freebsd-bugs@FreeBSD.ORG, bug-followup@FreeBSD.ORG, bruce@cran.org.uk In-Reply-To: <200706041602.l54G2dGD004568@www.freebsd.org> X-Newsgroups: list.freebsd-bugs User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 04 Jun 2007 19:09:08 +0200 (CEST) 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: freebsd-bugs@FreeBSD.ORG, bug-followup@FreeBSD.ORG, bruce@cran.org.uk List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 17:09:26 -0000 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 -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I learned Java 3 years before Python. It was my language of choice. It took me two weekends with Python before I was more productive with it than with Java." -- Anthony Roberts