From owner-freebsd-cvsweb@FreeBSD.ORG Tue Jun 1 11:53:12 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6719B16A4CE for ; Tue, 1 Jun 2004 11:53:12 -0700 (PDT) Received: from mc.ch1.ummail.com (mc.ch1.ummail.com [216.64.213.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9CB443D5F for ; Tue, 1 Jun 2004 11:53:11 -0700 (PDT) (envelope-from walter.dexter@mcd.com) Received: from dmmc01.ch1.ummail.com (dmmc01.ch1.ummail.com [216.64.213.124:25]) by mc.ch1.ummail.com with ESMTP id J0601-1453-030000; Tue, 1 Jun 2004 18:53:06 GMT X-PROVIDER-INFO: Contact abuse@unitedmessaging.com for abuse/spam/UBE complaints To: freebsd-cvsweb@freebsd.org X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: walter.dexter@mcd.com Date: Tue, 1 Jun 2004 13:53:02 -0500 X-MIMETrack: Serialize by Router on CHI-MCD-DH01/HU/US/MCD(Release 5.0.12 |February 13, 2003) at 06/01/2004 01:32:37 PM MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="<<001-40bcd096-64b8>>" Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: Directory name with spaces X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 18:53:12 -0000 --<<001-40bcd096-64b8>> Content-type: text/plain Content-transfer-encoding: 8bit One of the users of my CVS server has complained that CVSWEB isn't able to download files located in a directory with spaces in its name. Is this a known issue? Is there a patch or work-around, aside from not using spaces? It appears to work fine for everything except the download link. For example, the "view - text" link for a revision generates the following URL: http://usitcvs/cgi-bin/cvsweb.cgi/cvstest/dir%20with%20space/hi.txt?rev=1.1;content-type=text%2Fplain whereas the "download" link generates: http://usitcvs/cgi-bin/cvsweb.cgi/~checkout~/cvstest/dir+with+space/hi.txt?rev=1.1;content-type=text%2Fplain which works fine if I change the "+" to "%20" by hand. It honestly seems possible to me that I'm out-of-date on some Perl library or something, but this admin gig is a very small part of my list of assigned tasks, so I'm hoping someone can point me in the right direction. Looking at the code, I'd guess something needs to be tweaked in download_url(), but I'm no Perl guy, either. Thanks, Walt Dexter McDonald's Corporation 630-623-2058 walter.dexter@mcd.com --<<001-40bcd096-64b8>> Content-type: text/plain Content-transfer-encoding: 8bit The information contained in this e-mail and any accompanying documents is confidential, may be privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the "To" and "cc" box). They are the property of McDonald's Corporation. Unauthorized review,use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please return the e-mail and attachments to the sender and delete the e-mail and attachments and any copy from your system. McDonald's thanks you for your cooperation. --<<001-40bcd096-64b8>>--