Closed Bug 257911 Opened 20 years ago Closed 20 years ago

Hash sign (#) not translated when searching - treated as anchor

Categories

(Firefox :: Search, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 123006

People

(Reporter: webmaster, Assigned: p_ch)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

Picked this up because I program and at work we have to program in c#. If you
use the address bar to do a google search using "google c# repeater" then the #
isn't translated into its url encoded value (%23), but is left as it is. This
means that google doesn't see anything after this in its search because it has
been treated as a hyperlink to a named anchor within a page rather than as a
hash symbol (yes, I'm British, its a hash :D) to search for.

Reproducible: Always
Steps to Reproduce:
1. type "google" followed by keywords to search (one of which includes a #)
2. Press enter

Actual Results:  
Taken to http://www.google.com/search?&q=c#%20repeater&sourceid=firefox

Expected Results:  
Taken to http://www.google.com/search?&q=%23%20repeater&sourceid=firefox

You can work around it by using "google c%23 repeater", but most people won't
know this (I only just found out while fiddling to write this bug report!)
I'm assuming this happens on Linux too - I'll hopefully be able to test later in
the weekend with 0.7 if others haven't tested already
ooooops, the "expected result" should have a letter 'c' just after "q=":

http://www.google.com/search?&q=c%23%20repeater&sourceid=firefox

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