搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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