Closed Bug 319169 Opened 19 years ago Closed 19 years ago

[regression] Keyword substitution with %s doesn't escape characters

Categories

(Firefox :: Bookmarks & History, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 316863

People

(Reporter: brad, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

You can't use strings like "c++" or "s&p 500" with keyword substitution in most
circumstances because Mozilla doesn't convert characters to their hex
counterparts (e.g., '+' should become %2B, '&' should become %26, etc.).

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Steps to recreate:
. Create a bookmark with a keyword for Google (name "Google Search", location
"http://www.google.com/search?q=%s", keyword "g")
. Use it to search for "c++": "g c++".  Note that it left the '+'s as entered
and they are ignored.
The original defect for this was bug 123006.

The last build of Firefox I used that didn't have this problem was release 1.0.7.
Keywords: regression
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051204 Firefox/1.5

WFM in trunk and branch builds. Can't reproduce the problem. Have you tried it with a new profile?
See Bug 316863.
Blocks: 252209
A new profile does not fix the problem.  Maybe there's something else, a plugin or extension, affecting it -- I'll try to narrow it down.

I'll close this one in favor of bug 316863.

*** This bug has been marked as a duplicate of 316863 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.