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!

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

Why firefox is not sending 'filename' parameter for form file parts encoded as specified in rfc2388?

  • 3 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

rfc2388 states:

The original local file name may be supplied as well, either as a "filename" parameter either of the "content-disposition: form-data" header or, in the case of multiple files, in a "content-disposition: file" header of the subpart. The sending application MAY supply a file name; if the file name of the sender's operating system is not in US-ASCII, the file name might be approximated, or encoded using the method of RFC 2231.

But firefox is just sending 'filename' parameter encoded with the page encoding or the form accept-charset, this is, it is sending raw UTF-8 or the choosen encoding.

Which is the reason for this?

rfc2388 states: The original local file name may be supplied as well, either as a "filename" parameter either of the "content-disposition: form-data" header or, in the case of multiple files, in a "content-disposition: file" header of the subpart. The sending application MAY supply a file name; if the file name of the sender's operating system is not in US-ASCII, the file name might be approximated, or encoded using the method of RFC 2231. But firefox is just sending 'filename' parameter encoded with the page encoding or the form accept-charset, this is, it is sending raw UTF-8 or the choosen encoding. Which is the reason for this?

Toutes les réponses (3)

more options

Hello!

Thank you for inquiring about your issue on Mozilla Support! We appreciate your patience while we find an answer to your issue. At this moment I am escalating this to our advanced troubleshooting team who will assist you further in 24-48 hours.

Thank You!

Best Regards,

feer56

more options

It would help answer your question if you could describe the issue better and how it is affecting your use of Firefox. For example, is the problem related to the following?

If you are not having a specific issue with using Firefox, you can

Here is a list of bugs with a comment mentioning rfc2388, in case it helps ... and here is another list of bugs mentioning rfc 2388 (with a space).

P.S. Before filing a bug report or adding a comment to a bug, please read https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines and https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

Modifié le par AliceWyman

more options

If this is about your own website then try to ask advice at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.