From owner-freebsd-www@FreeBSD.ORG Fri Apr 8 14:20:09 2005 Return-Path: Delivered-To: freebsd-www@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 327AE16A4CE for ; Fri, 8 Apr 2005 14:20:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07B5043D45 for ; Fri, 8 Apr 2005 14:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j38EK8Bk020368 for ; Fri, 8 Apr 2005 14:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j38EK8fx020367; Fri, 8 Apr 2005 14:20:08 GMT (envelope-from gnats) Date: Fri, 8 Apr 2005 14:20:08 GMT Message-Id: <200504081420.j38EK8fx020367@freefall.freebsd.org> To: freebsd-www@FreeBSD.org From: Ceri Davies Subject: Re: www/79659: cvsweb cannot cope with % X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ceri Davies List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 14:20:09 -0000 The following reply was made to PR www/79659; it has been noted by GNATS. From: Ceri Davies To: Dan Langille , freebsd-www@FreeBSD.org, FreeBSD Gnats Submit Cc: Subject: Re: www/79659: cvsweb cannot cope with % Date: Fri, 8 Apr 2005 15:13:42 +0100 On Fri, Apr 08, 2005 at 02:58:29PM +0100, Ceri Davies wrote: > On Fri, Apr 08, 2005 at 08:38:42AM -0400, Dan Langille wrote: > > On 8 Apr 2005 at 12:24, Ceri Davies wrote: > > > On Fri, Apr 08, 2005 at 10:40:09AM +0000, Dan Langille wrote: > > > > > > > Your investigation prompted me to check my local repository which > > > > uses cvsweb-2.0.6. cvsweb has no problem with that file. I see that > > > > FreeBSD is using FreeBSD-CVSweb 2.0.6. It has a problem with that > > > > file. > > > > > > > > This suggests that the problem may not be with cvsweb, but with > > > > something else. The error message: > > > > > > > > Bad Request > > > > Your browser sent a request that this server could not understand. > > > > > > > > A grep of the repo projects/cvsweb does not find "Bad Request". This > > > > also suggests it could be something other than cvsweb that is > > > > displaying this message. > > > > > > It's Apache. From the CHANGES file in Apache 0.8.15: > > > > > > *) Reject paths containing %-escaped '%' or null characters [David Robinson] > > > > > > Googling seems to suggest that this was done because it was deemed > > > forbidden by RFC 2396, which is not the case. > > > > Hold on.... why do we see the problem at www.freebsd.org but not on > > my local (private) cvsweb? I'm running apache-1.3.33_1 > > Because you are not using mod_rewrite. Check it out; with mod_rewrite the % needs escaping twice: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/gdb6/files/patch-i386%2525nm-fbsd64.h Ceri -- Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.)