Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 00:20:05 +0900
From:      arc <arc@a5r.highway.ne.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/53450: [patch] Cvsweb 2.0.6 or above cause an error withwhite-space included  directory
Message-ID:  <4.0.1-J.20030619001619.02053a38@vm01.highway.ne.jp>
Resent-Message-ID: <200306181520.h5IFK2HQ036578@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53450
>Category:       misc
>Synopsis:       [patch] Cvsweb 2.0.6 or above cause an error with white-space inc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 18 08:20:02 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     arc aka heno <arc@a5r.highway.ne.jp>
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
program-bbs@2ch
>Environment:
System: FreeBSD fr45 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56
 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386

 and sourceforge.jp (Linux)

>Description:
FreeBSD-cvsweb says an error when "(download)" link was clicked for files in
 a directory named with white-space.

  like:
    "ncvs/white\ space\ included\ directory/try-to-download-this,v"

>How-To-Repeat:

FreeBSD-cvs 2.0.6
ttp://minix-up.sourceforge.jp/cgi-bin/now.cgi/l/t%20c/try-to-download-this

Fixed
ttp://minix-up.sourceforge.jp/cgi-bin/fixed.cgi/l/t%20c/try-to-download-this


>Fix:

--- now.cgi	Sun Jun 15 12:48:28 2003
+++ fixed.cgi	Sun Jun 15 12:46:38 2003
@@ -3410,6 +3410,7 @@
 	{
 		my $path = $where;
 		$path =~ s|[^/]+$||;
+		$path = urlencode($path);
 		$url = "$scriptname/$checkoutMagic/${path}$url";
 	}
 	$url .= "?rev=$revision";


>Release-Note:
>Audit-Trail:
>Unformatted:
 luded  directory



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.0.1-J.20030619001619.02053a38>