Ticket #1402 (closed defect: wontfix)
Image attachment display broken
| Reported by: | pharkas@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | 0.8.1 |
| Severity: | major | Keywords: | |
| Cc: |
Description
Running Trac 0.8.1 on Apache 1.3.33 (Darwin) on an Apple xserve, I get intermittent image display. Attached images show up exactly every other time- the first time I load the image, it display properly, but the second time I load the image it shows up as a broken image (IE), or gives a "The image cannot be displayed, because it contains errors." error (Firefox).
I ran ethereal on the connection to grab the transferred data:
Success
GET /cgi-bin/mstl.cgi/attachment/wiki/JacobFarkas/thumbsup.jpg?format=raw HTTP/1.1 Host: aeroxserv.aero.calpoly.edu User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: trac_session=ae55ae88dea5e6e546e10bff; trac_auth=64a37dfce1bd402648a12f761732292f Authorization: Basic amZhcmthczozYTVhZmp2MjM= Cache-Control: max-age=0 HTTP/1.1 200 Date: Tue, 05 Apr 2005 00:23:17 GMT Server: Apache/1.3.33 (Darwin) DAV/1.0.3 mod_ssl/2.8.22 OpenSSL/0.9.7b PHP/4.3.10 Expires: Mon, 26 Jul 1997 05:00:00 GMT Pragma: no-cache Cache-Control: max-age=60 Expires: Tue, 05 Apr 2005 00:24:17 GMT Content-Length: 80897 Last-Modified: Sun, 27 Mar 2005 08:17:01 GMT Connection: close Content-Type: image/jpeg [Image data cut]
Failure
GET /cgi-bin/mstl.cgi/attachment/wiki/JacobFarkas/thumbsup.jpg?format=raw HTTP/1.1 Host: aeroxserv.aero.calpoly.edu User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: trac_session=ae55ae88dea5e6e546e10bff; trac_auth=64a37dfce1bd402648a12f761732292f If-Modified-Since: Sun, 27 Mar 2005 08:17:01 GMT Authorization: Basic amZhcmthczozYTVhZmp2MjM= Cache-Control: max-age=0 HTTP/1.1 200 Date: Tue, 05 Apr 2005 00:26:34 GMT Server: Apache/1.3.33 (Darwin) DAV/1.0.3 mod_ssl/2.8.22 OpenSSL/0.9.7b PHP/4.3.10 Connection: close Expires: Mon, 26 Jul 1997 05:00:00 GMT Expires: Tue, 05 Apr 2005 00:27:34 GMT Cache-Control: max-age=60
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


