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

Searching on packages with a space gives an error message



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



Reply to: