http://www.mozilla.com/en-US/firefox/central/ points its SUMO search widget to search.php (http://support.mozilla.com/en-US/search.php?where=all&locale=en-US&q=instant&x=0&y=0), but it should be doing a search like so: http://support.mozilla.com/en-US/search?q=instant I don't know if the solution is to redirect search.php and include the query term, or just to fix Mozilla.com (or both, for other potential consumers/includes).
(In reply to comment #0) > I don't know if the solution is to redirect search.php and include the query > term, or just to fix Mozilla.com (or both, for other potential > consumers/includes). We should fix mozilla.com. We did redirect search.php for several months after the initial switch.
This search form has two hidden fields that are adding the "?where=all&locale=en-US" to the search: ▸ <input type="hidden" name="where" value="all" /> ▸ <input type="hidden" name="locale" value="en-US" /> Should both of these remain?
(In reply to comment #2) > ▸ <input type="hidden" name="where" value="all" /> Drop this one. > ▸ <input type="hidden" name="locale" value="en-US" /> I assume the value depends on the current locale, right? There are a couple of options: 1) Change the name from "locale" to "language." This will make SUMO determine its UI language based on the user's Accept-Language header, but show results in from the specified language. 2) Change the name from "locale" to "lang," which will force the SUMO UI, and results, into whatever value is specified here. I imagine (2) is closer to the expected behavior.
Fixed in trunk (using method (2) from comment #3) in r80211. James, look ok? The X and Y vars are a side-effect of the submit button being an image - the browser sends the x/y coords of where an image submit button was clicked.
Looks fine to me. The x and y values will be ignored.
Merged to stage in r80212.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
qa-verified-trunk: we're now submitting https://support.mozilla.com/en-US/search?q=instant&y=0&x=0
Pushed to production r80672 | email@example.com | 2011-01-12 17:16:20 -0500 (Wed, 12 Jan 2011) | 5 lines
Verified FIXED on prod.
Status: RESOLVED → VERIFIED
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.