Closed Bug 153027 Opened 22 years ago Closed 20 years ago

Keyword searches do not encode search string

Categories

(SeaMonkey :: Location Bar, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 123006

People

(Reporter: bogofilter+mozilla, Assigned: hewitt)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

When using a keyword search in the location bar, the "%s" should be encoded
before submitted.

Reproducible: Always
Steps to Reproduce:
Use the following bookmark with a keyword set to "g":
   http://www.google.com/search?q=%s

Now in the location bar type:
   g +why +is grass green

Actual Results:  The Google results will respond that "why" and "is" were too
common and not included in your search and your search will show as " why  is
grass green" (notice extra spaces before "why" and "is").  Because the "+"
characters were not converted to "%2B", Google (correctly) interpreted the +'s
as spaces instead of "force this word to be used as search criteria".
Actually spaces are correctly encoded to %20... but '+' are not encoded.
Also '&' is correctly encoded.

This is correlated to bug 193178.

Using Mozilla 1.4b+ Build ID 2003052608.

*** This bug has been marked as a duplicate of 123006 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.