Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

FEEDBACK TO YOU - A BUG IN JPEG HANDLING

  • 3 réponses
  • 3 ont ce problème
  • 10 vues
  • Dernière réponse par 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.

Modifié le par user633449

Solution choisie

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.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (3)

more options

Solution choisie

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