GMOD/GBrowse — pull request #38 by nathanweeks (2014-02-26 22:03:08+00:00)
Title: Trim leading & trailing spaces from the search term

We encountered an issue where having one or more leading spaces in a search term caused the search to return many spurious results, while trailing spaces at the end of a search term caused the search to fail. Trimming leading/trailing whitespace resolved the issue.

I'm not sure if this is the best location for this code, but it works for search terms entered in the "Landmark or Region" box.