Closed Bug 79321 Opened 25 years ago Closed 25 years ago

Referer header not passed when requesting images

Categories

(Core :: Networking, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 74284

People

(Reporter: sterno, Assigned: asa)

Details

Using previous versions of mozilla and other browsers, requests for images are sent with the "referer" header set to the value of the page that the image was on. Some websites use this functionality to prevent people from accessing images directly from other sites. As of mozilla .9 this functionality is broken. I made a test page and these are the headers I get from .8 or below: HEADER: cookie: JSESSIONID=6dfs8r1g91 HEADER: accept-language: en HEADER: connection: keep-alive HEADER: accept: */* HEADER: keep-alive: 300 HEADER: host: www.myhost.com HEADER: accept-encoding: gzip,deflate,compress,identity HEADER: user-agent: Mozilla/5.0 (X11; U; Linux 2.4.1 i686; en-US; 0.8) Gecko/20010215 HEADER: referer: http://www.myhost.com/test.html The same page request in mozilla .9: HEADER: cookie: JSESSIONID=6dfs8r1g91 HEADER: connection: keep-alive HEADER: accept-encoding: gzip,deflate,compress,identity HEADER: accept: */* HEADER: accept-charset: ISO-8859-1, utf-8; q=0.667, *; q=0.667 HEADER: accept-language: en HEADER: user-agent: Mozilla/5.0 (X11; U; Linux 2.4.1 i686; en-US; rv:0.9) Gecko/20010505 HEADER: keep-alive: 300 HEADER: host: www.myhost.com
*** This bug has been marked as a duplicate of 74284 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
vrfy dupe
Status: RESOLVED → VERIFIED
moved out of browser-general ->networking
Component: Browser-General → Networking
You need to log in before you can comment on or make changes to this bug.