Closed Bug 613917 Opened 15 years ago Closed 15 years ago

When calling a bookmarlet or search engine from the location bar, "+" in the argument should be encoded

Categories

(Firefox :: Address Bar, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 359809

People

(Reporter: samul, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12 I use e.g. "g SEARCH TERM" from the location bar to run search for a term. g is bound to the bookmark: http://www.google.at/search?hl=de&source=hp&q=%s&meta=&aq=f&aqi=&aql=&oq=&gs_rfai= %s is replaced with the term. Spaces are properly encoded in the search term but "+" is passed as is. But "+" in a url usually denotes a space. "g c++" thus results in a search for "g c ". Reproducible: Always Steps to Reproduce: 1. Open the google page 2. Choose "Define a keyword for that search" from the popup menu; choose e.g. "g" as keyword 3. type "g c++" Actual Results: Google searches for "c " Expected Results: The "+" characters should be escaped in the url and google should search for c++.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.