Closed
Bug 567965
Opened 15 years ago
Closed 15 years ago
Hotlinking not working
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: lazyholidays, Unassigned)
References
()
Details
Attachments
(1 file)
185 bytes,
text/html
|
Details |
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
Comment 1•15 years ago
|
||
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•15 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•15 years ago
|
||
http://www.songgy.net/hindi/Toh%20Baat%20Pakki/Toh%20Baat%20Pakki.jpg is my image that site on that page
Comment 4•15 years ago
|
||
Comment 5•15 years ago
|
||
And your hotlink protection isn't working with IE7 and SM trunk on my system using the testcase.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 6•15 years ago
|
||
What do you think is the problem ? Is there a problem with my code ?
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 7•15 years ago
|
||
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
Closed: 15 years ago → 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•