f11, firefox, cgi generated images?

Todd Zullinger tmz at pobox.com
Thu Jun 25 14:28:52 UTC 2009


Tom Horsley wrote:
> With the firefox 3.5b4 in fedora 11, when I click on
> an image attachment in a redhat bugzilla, it can't
> seem to just display the dadgum image itself, it
> knows it is a PNG, but insists on running an
> external viewer program.
>
> For instance the 1st "screen short" (mispelling :-)
> attachment in my bug:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=506552
>
> I could swear it would just open the image directly
> in firefox before. Is it supposed to be this way,
> or is this a bug (it has no problems opening
> links directly to PNG images, it seems to be the
> fact that it is provided by the cgi interface
> that upsets it).

This occurs in Firefox 3.0 in F-10 as well.  I don't recall if image
attachment in bugzilla opened directly before or not.  I know bugzilla
was updated not all that long ago, so it could have changed.  The http
headers do indicate that it's an attachment rather than an inline
image I believe (note the Content-disposition header):

$ curl -I https://bugzilla.redhat.com/attachment.cgi?id=348310
HTTP/1.1 200 OK
Date: Thu, 25 Jun 2009 14:25:08 GMT
Server: Apache/2.2.3 (Red Hat)
Content-disposition: attachment; filename="nview.png"
Content-length: 2945
Cache-Control: max-age=2592000
Expires: Sat, 25 Jul 2009 14:25:08 GMT
Content-Type: image/png; name="nview.png"
Set-Cookie: Bugzilla_javascript=X; domain=bugzilla.redhat.com; path=/; expires=Tue, 15-Sep-1998 21:49:00 GMT
Via: 1.1 bugzilla.redhat.com
Connection: close

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Abstainer, n.: A weak person who yields to the temptation of denying
himself a pleasure.
    -- Ambrose Bierce, "The Devil's Dictionary"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090625/9d8ffe34/attachment-0001.sig>


More information about the fedora-list mailing list