Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

FEEDBACK TO YOU - A BUG IN JPEG HANDLING

  • 3 replies
  • 3 have this problem
  • 3 views
  • Last reply by cor-el

more options

Simple bug: when you pull a JPEG image from a webserver where the URL to retrieve such is a cgi script ending .cgi, such as in http://mywebcamera/getimage.cgi

- then most browsers are perfectly happy, readily recognise the payload as a JFIF block (Jpeg file Interchange Format) and so receive and paint the image.

But FireFox rather dumbly asks what it should do with a "file of typ .cgi" (i.e. goes by the URL suffix alone, not the payload type). This is daft - and prevents some makes of webcamera working.

Any chance of a small fix to detect the incoming JPEG by MIME type instead of URL tailer ? NB changing the URL tailer is not an option, as millions of webcameras already in the field will output a JPEG image (or with a different URL detail, stream video) when addressed with a .cgi suffix.

Queries ? Reach me at (Email Removed by Mod)

LOVELY BROWSER OTHERWISE :-) Many thanks - stilla great fan.

Simple bug: when you pull a JPEG image from a webserver where the URL to retrieve such is a cgi script ending .cgi, such as in http://mywebcamera/getimage.cgi - then most browsers are perfectly happy, readily recognise the payload as a JFIF block (Jpeg file Interchange Format) and so receive and paint the image. But FireFox rather dumbly asks what it should do with a "file of typ .cgi" (i.e. goes by the URL suffix alone, not the payload type). This is daft - and prevents some makes of webcamera working. Any chance of a small fix to detect the incoming JPEG by MIME type instead of URL tailer ? NB changing the URL tailer is not an option, as millions of webcameras already in the field will output a JPEG image (or with a different URL detail, stream video) when addressed with a .cgi suffix. Queries ? Reach me at (Email Removed by Mod) LOVELY BROWSER OTHERWISE :-) Many thanks - stilla great fan.

Modified by user633449

Chosen solution

If you think you've found a bug in Firefox, the best thing to do is to file a bug on https://bugzilla.mozilla.org/, and the developers will be able to see it then.

Read this answer in context 👍 1

All Replies (3)

more options

Chosen Solution

If you think you've found a bug in Firefox, the best thing to do is to file a bug on https://bugzilla.mozilla.org/, and the developers will be able to see it then.

more options

Oh thanks for the steerage, Tyler - I didn't know quite how to get to the 'inner core'. Will do so.

Mike

more options

Is that JPEG image send by the server with the correct MIME type (image/jpg or image/jpeg)?