搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

FEEDBACK TO YOU - A BUG IN JPEG HANDLING

  • 3 回覆
  • 3 有這個問題
  • 3 次檢視
  • 最近回覆由 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.

由 user633449 於 修改

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

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)?