Closed Bug 310415 Opened 19 years ago Closed 19 years ago

Open Link In New Tab opens Google search page rather than the intended page

Categories

(Firefox :: Menus, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: mhacjanapin, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

In the demo url above, when you right-click on the link www.gerona.gov.ph/gyachE.png 
and click "Open Link In New Tab", it will open Google Search Page in a New Tab. 
However, if you manually type the URL in the address bar, it will open the right page.


Reproducible: Always

Steps to Reproduce:
1. Open the demo url.
2. Right-Click on the link to www.gerona.gov.ph/gyachE.png
3. Click on "Open Link in New Tab"

Actual Results:  
It opened a New Tab but not with the intended link. It instead opened Google Search 
page.

Expected Results:  
It should have opened the intended page.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
wget -O /dev/null -S http://www.gerona.gov.ph/gyachE.png
--01:07:35--  http://www.gerona.gov.ph/gyachE.png
           => `/dev/null'
Resolving www.gerona.gov.ph... done.
Connecting to www.gerona.gov.ph[72.21.55.186]:80... connected.
HTTP request sent, awaiting response...
 1 HTTP/1.1 200 OK
 2 Date: Thu, 29 Sep 2005 08:07:36 GMT
 3 Server: Apache
 4 Last-Modified: Thu, 29 Sep 2005 06:20:29 GMT
 5 ETag: "46c101-38bdb-433b87ad"
 6 Accept-Ranges: bytes
 7 Content-Length: 232411
 8 Connection: close
 9 Content-Type: image/png

wget -O /dev/null -S --referer=http://www.example.com
http://www.gerona.gov.ph/gyachE.png
--01:11:04--  http://www.gerona.gov.ph/gyachE.png
           => `/dev/null'
Resolving www.gerona.gov.ph... done.
Connecting to www.gerona.gov.ph[72.21.55.186]:80... connected.
HTTP request sent, awaiting response...
 1 HTTP/1.1 302 Found
 2 Date: Thu, 29 Sep 2005 08:11:01 GMT
 3 Server: Apache
 4 Location: http://google.com
 5 Connection: close
 6 Content-Type: text/html; charset=iso-8859-1

Probably hoping to prevent people from putting their images in pages on other
servers, the server returns a redirect to Google for any request for an image
that includes a referer header that's not from them. It's not a bug that we
follow a redirect when that's what the server is sending.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
The resolution "FIXED" means "fixed by a checkin of code that solves the bug,"
not "oops, I just realized the server is sending a redirect whenever it gets a
Referer: header that isn't from one of its own pages."
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.