Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

FEEDBACK TO YOU - A BUG IN JPEG HANDLING

  • 3 ответа
  • 3 имеют эту проблему
  • 10 просмотров
  • Последний ответ от 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)?