Status

()

RESOLVED INVALID
9 years ago
9 years ago

People

(Reporter: lazyholidays, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

I am using the following code in my .htaccess
#Stop Image Hotlinking
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?mysite.net [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !google. [NC]
RewriteCond %{HTTP_REFERER} !search?q=cache [NC]
RewriteCond %{HTTP_REFERER} !msn. [NC]
RewriteCond %{HTTP_REFERER} !yahoo. [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ – [F]

Its strange that the image is not hotlinking on IE but on firefox it loads, what exactly is the problem ?

Reproducible: Always

Actual Results:  
The image loaded

Expected Results:  
Image shouldn't have loaded on another site except mine
Please provide an image URL that should not loaded.
We can't and will not answer your question why it's not working, we can only check if the Gecko sends the right referer
(Reporter)

Comment 2

9 years ago
http://www.movielover.in/2010/03/toh-baat-pakki-2010-hindi-movie.html This is the URL that hotlinks my image when IE and chrome don't display the image of my domain(songgy.net), why is firefox displaying ?
(Reporter)

Comment 3

9 years ago
http://www.songgy.net/hindi/Toh%20Baat%20Pakki/Toh%20Baat%20Pakki.jpg is my image that site on that page
Created attachment 447928 [details]
We expect an easy testcase like this one
And your hotlink protection isn't working with IE7 and SM trunk on my system using the testcase.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → INVALID
(Reporter)

Comment 6

9 years ago
What do you think is the problem ? Is there a problem with my code ?
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
It's your server configuration. Please do not reopen, there is no bug in Gecko and this can not be fixed by us.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.