Closed Bug 9178 Opened 25 years ago Closed 25 years ago

Gif's won't display

Categories

(Core :: Networking, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 1582

People

(Reporter: zaw, Assigned: gagan)

References

()

Details

I have ICQ 99 and it have feature to setup a personal ICQ webserver at your current IP address. fooling around with Mozilla 1999070108 log on to my page and can't display the GIF icon files for some reason. work fine with other browsers that i have. my ICQ is always up so you can come and try it.
QA Contact: petersen → elig
QA Assigning to self. I can reproduce this. In the future, please follow the guidelines in http://www.mozilla.org/quality/ browser/imaging-bug-writing.html on any imaging bugs for prompt bug turnaround. I'll decompose this in the next few days (or, sooner, if you'd like to provide the relevant information from that page.) Thanks.
Component: Layout → ImageLib
Assignee: rickg → petersen
Chris -- I'm seeing this on my NT box. Would you mind looking on win98 for me? Thanks.
Started to poke around and dissect the problem source. Will follow up with a full analysis tonight or tomorrow.
Assignee: petersen → rickg
Yes, I 'm able to reproduce this problem with the July 6th build running under Win 98 and 95.
Okay. I've been going through this with a network analysis tool, and I think I know what's going on. Will confirm with Gagan, and see if there's a duplicate already.
QA Contact: elig → paulmac
Now *THIS* was a fun bug to investigate! Background Information: - The images will not load (if independent of the page) in Communicator 4.6 or Apprunner. - The images load file from Communicator 4.6 if part of the page. The Whole Story: Each time we sent an image GET request from Apprunner as part of the page, it came back with a 403 error: 17:03:43.685 |GET /images/bg-yellow.gif HTTP/1.1 |Connection: Keep-Alive |User-Agent: Mozilla/5.0 [en] (WinNT; I) |Pragma: no-cache |Host: 24.1.67.35:80 |Accept: text/html, text/xml, image/png, image/gif, image/jpeg, image/pjpeg, */* |Accept-Encoding: gzip 17:03:44.603 |HTTP/1.0 403 Forbidden |WWW-Authenticate: Basic realm="Authentication Required" |Content-type: text/html However, from Communicator 4.6, it worked: 17:02:15.593 |GET /images/gray-redmouth.gif HTTP/1.0 |Referer: http://24.1.67.35/left.html |Connection: Keep-Alive |User-Agent: Mozilla/4.6 [en] (WinNT; I) |Host: 24.1.67.35:80 |Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/ png |Accept-Encoding: gzip |Accept-Language: en |Accept-Charset: iso-8859-1,*,utf-8 17:02:15.613 |0000 48 54 54 50 2F 31 2E 30-20 32 30 30 20 4F 4B 0D HTTP/1.0 200 OK. One of the two differences between these two traces that is that Communicator 4.6 provides a referer header, whereas we don't in Apprunner. (Bug 1582 covers this.) The other difference is the lack of a "*/*" at the end of the Accept header in 5.0. So, I loaded the image file directly from Communicator 4.6 (which doesn't work), and checked the headers: 17:28:42.515 |GET /images/bg-yellow.gif HTTP/1.0 |Connection: Keep-Alive |User-Agent: Mozilla/4.6 [en] (WinNT; I) |Host: 24.1.67.35:80 |Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/ png, */* |Accept-Encoding: gzip |Accept-Language: en |Accept-Charset: iso-8859-1,*,utf-8 17:28:42.585 |HTTP/1.0 403 Forbidden |WWW-Authenticate: Basic realm="Authentication Required" |Content-type: text/html | |<body><h1>HTTP/1.0 403 Forbidden</h1><body> The only difference between the above header from 4.6 (in which the image doesn't load) and the header in which it does load in 4.6 is the lack of a Referrer field. Thus, I am marking this as a duplicate of 1582 with a request that Paulmac (or someone who actually understands networking) actually confirm this prior to verification.
Assignee: rickg → gagan
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
[Resolving as duplicate of 1582. Thanks to Gagan for the Network Trace Investigation 101 class. ;-] *** This bug has been marked as a duplicate of 1582 ***
Component: ImageLib → Networking Library
OS: Windows 98 → All
[Moved to "Networking Library" component.]
Status: RESOLVED → VERIFIED
Eli, you're so good, you can have my job. Verified, though I don't why the page forces you to have the referer set. Guess it doesn't wanted anyone linking to just the pictures...
Changing all Networking Library/Browser bugs to Networking-Core component for Browser. Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do this in a bulk change. If this happens, I will fix. ;-)
I put down the the server due to security issues with ICQ. Will put it back up on request.
Bulk move of all Networking-Core (to be deleted component) bugs to new Networking component.
You need to log in before you can comment on or make changes to this bug.