Bug#248439: packages.debian.org should strip spaces from package searches
Package: www.debian.org
----- Forwarded message from Magnus Ihse <magnus@ihse.net> -----
From: Magnus Ihse <magnus@ihse.net>
Subject: Searching on packages with a space gives an error message
Date: Mon, 10 May 2004 16:32:12 +0200
To: debian-www@lists.debian.org
Hi!
If you go to http://www.debian.org/distrib/packages, and enter a search
term ending in space, like "foo " (without the quotes) in either of the
two search fields, you get a response like:
Error: keyword not valid or missing
or
Error: "foo " is not a valid search request
(Discovered when I by mistake left a trailing space during cut-and-paste.)
This is not particularily user-friendly. A better approach would be to
chop leading and trailing spaces before processing the search request.
/Magnus
--
To UNSUBSCRIBE, email to debian-www-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
----- End forwarded message -----
--
Matt Kraai kraai@ftbfs.org http://ftbfs.org/
Reply to: