Closed
Bug 134766
Opened 23 years ago
Closed 23 years ago
Odd form of advertising breaks image loading
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 121084
People
(Reporter: david, Assigned: pavlov)
References
()
Details
Short and simple: click on one of these flag images, we'll call it japan.gif.
Result:
Moz requests japan.gif
Server sends japan.gif (really a gif)
Moz requests japan.gif
Server sends japan.gif (actually a jpeg, an ad)
Moz renders ad
Forced network load of image:
Moz requests japan.gif
Server sends japan.gif (really the gif)
Moz renders the flag image we are expecting
Tcpdump shows the following conversation happening:
GET /avmedia6/flags1/asia/oman.gif HTTP/1.1
Host: members.fortunecity.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020329
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en-us, en;q=0.50
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.virtuallandmedia.com/world-flag1.htm
Cookie: rand=1017257990-f45944da05219912a8058b1a89ba33b9;
fcfirstseen=1017258141-68.14.9.32-V-unknown; RMID=440e09203ca22000
HTTP/1.1 200 OK
Date: Tue, 02 Apr 2002 01:24:26 GMT
Server: Apache/1.3.14 (Unix)
Last-Modified: Thu, 28 Mar 2002 05:21:24 GMT
ETag: "286b6b-a1f3-3ca2a854"
Accept-Ranges: bytes
Content-Length: 41459
Keep-Alive: timeout=15, max=256
Connection: Keep-Alive
Content-Type: image/gif
GIF89a<image data>
GET /avmedia6/flags1/asia/oman.gif HTTP/1.1
Host: members.fortunecity.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020329
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en-us, en;q=0.50
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive
Cookie: rand=1017257990-f45944da05219912a8058b1a89ba33b9;
fcfirstseen=1017258141-68.14.9.32-V-unknown; RMID=440e09203ca22000
If-Modified-Since: Thu, 28 Mar 2002 05:21:24 GMT
If-None-Match: "286b6b-a1f3-3ca2a854"
Cache-Control: max-age=0
HTTP/1.1 200 OK
Date: Tue, 02 Apr 2002 01:24:26 GMT
Server: Apache/1.3.14 (Unix)
Keep-Alive: timeout=15, max=255
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: image/gif
JFIF data
Now, when the forced reload happens, here is the conversation:
GET /avmedia6/flags1/asia/oman.gif HTTP/1.1
Host: members.fortunecity.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020329
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en-us, en;q=0.50
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.virtuallandmedia.com/world-flag1.htm
Cookie: rand=1017257990-f45944da05219912a8058b1a89ba33b9;
fcfirstseen=1017258141-68.14.9.32-V-unknown; RMID=440e09203ca22000
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.1 200 OK
Date: Tue, 02 Apr 2002 01:47:45 GMT
Server: Apache/1.3.14 (Unix)
Last-Modified: Thu, 28 Mar 2002 05:21:24 GMT
ETag: "286b6b-a1f3-3ca2a854"
Accept-Ranges: bytes
Content-Length: 41459
Keep-Alive: timeout=15, max=254
Connection: Keep-Alive
Content-Type: image/gif
GIF89a <image data>
How should mozilla be reacting in the above circumstance? This is an issue I
have seen on 7 different websites today, all of them sending an advertisement
image with the requested image.
I did forget to mention, I have my cache values set to load every time.
Comment 3•23 years ago
|
||
I can't reproduce this.on 099, but I don't have a nightly arround to test ATM.
The referer header is missing on the second load, though, which could be causing
this.
-> imglib, I guess
Assignee: darin → pavlov
Component: Networking: HTTP → ImageLib
QA Contact: tever → tpreston
a) Why is mozilla issuing two GET requests on the first load?
b) Why is mozilla rendering the JFIF content instead of the GIF content on the
first load?
Further note, this effect is only noticed when Edit->Prefs->Adv->Cache is set to
Every Time. All other cache forms show the expected image every time.
Yikes! I saw it too, it loads the flag, then quickly re-renders to a flippin
ad. I didn't see it until I set the browser to load everytime. That's just nasty.
Comment 8•23 years ago
|
||
What I meant to put was confirming with 20020421 Linux...
The situation appears to be discovered. A growing number of websites are
blocking outside referrers and providing an advertisement or other content in
the place of the requested image. I'm marking this bug a dupe of bug 121084.
It remains to be solved why mozilla wants to do two GETs.
*** This bug has been marked as a duplicate of 121084 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•