搜尋 Mozilla 技術支援網站

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

Learn More

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

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

所有回覆 (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

由 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.