Closed Bug 727583 Opened 13 years ago Closed 13 years ago

Searching for "Twitter" returns broken results page, searching for "Bing" returns "cheese"

Categories

(Pancake Graveyard :: Back-end, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gbrander, Assigned: gbrander)

Details

Cue Twilight Zone music... What happens: 1. Search for "Twitter" 2. Broken search results appear. 3. Clicking on Bing tab shows "Cheese" as results What happens: 1. Search for "Bing" 2. Search results are for "Cheese" What I expect to happen: not that. The API results seem to be ok. For example, look at the results for "Twitter": /search/bing?q=Twitter
Component: Front-end → Back-end
QA Contact: frontend → backend
Assignee: nobody → gbrander
We get "cheese" back from the search API when no search query is provided (thx st3fan). We tease out the search provider on the front end by string searching for provider names in the :query param passed from the router. If you type twitter (a provider), you'll get a false positive for the provider, and the search API will be hit with '', so you get back cheese.
this is fixed now
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.