[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#202015: Package search for "g++" broken for second and subsequent result pages



On Sat, Jul 19, 2003 at 01:15:44PM +0200, Frank Lichtenheld wrote:
> tags 202015 + patch
> thanks
> 
> On Fri, Jul 18, 2003 at 07:30:36PM -0700, Robert Fleming wrote:
> > Searching for packages containing files like "g++", the "+" characters 
> > are properly encoded (by the web browser) in the "word" parameter in the 
> > URL by the search form at http://www.debian.org/distrib/packages as follows:
> > 
> >    search_contents.pl?word=g%2B%2B ...
> > 
> > but the links for subsequent search result pages look like:
> > 
> >    search_contents.pl?page=2&word=g++ ...
> > 
> > where "g++" should be "g%2B%2B".
> > 
> > Clicking on these links results in this error:
> > 
> >    Error: "g " is not a valid search request
> 
> I made a patch. It uses the URI::Escape modul which is part of package
> liburi-perl.

Tested and applied to CVS, thanks.  Now if packages.d.o would only
do a cvs update...

-- 
Matt Kraai          kraai@alumni.cmu.edu          Debian GNU/Linux



Reply to: