Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2005 08:34:47 -0400
From:      "Dan Langille" <dan@langille.org>
To:        Ceri Davies <ceri@submonkey.net>
Cc:        FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org>
Subject:   Re: www/79659: cvsweb cannot cope with %
Message-ID:  <42564227.27773.7ACFFBB@localhost>
In-Reply-To: <20050408112415.GI19136@submonkey.net>
References:  <200504081040.j38Ae9V1087785@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Oh...

Apache is unlikely to be changed.  Any filenames within the FreeBSD 
CVS repository that contain a '%' will break FreshPorts.  FreshPorts 
uses cvsweb to fetch the files associated with the commit.

-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
   NEW brochure available at http://www.bsdcan.org/2005/advocacy/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42564227.27773.7ACFFBB>