搜尋 Mozilla 技術支援網站

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

了解更多

File uploads using jQuery with jquery.fileupload.js fails in Firefox over SSL

more options
Please see the link below where I originally posted the question. http://stackoverflow.com/questions/27792614/file-uploads-using-jquery-with-jquery-fileupload-js-fails-in-firefox-over-ssl

所有回覆 (5)

more options

You mentioned: Searching through the jqXHR, you find the error: "Uploaded bytes exceed file size"

Maybe there is an issue with the computation of the file size, that somehow you get different results in Firefox than in the other browsers. Is that built-in to the function or does your code do the computation?

more options
more options

Thanks. In my estimation that is exactly the issue. But that doesn't help with a resolution.

The actual file size: 945,991 bytes

If Firefox is miscalculating the length (in Safari/Chrome 945991 and 946241 in Firefox), then Firefox is reporting erroneously and should be raised as a bug in Firefox, would you agree?

由 kyle.grovers 於 修改

more options

That seems like a big discrepancy. But I haven't looked in the script to see how it is computed. I suggest filing it as an issue with Blueimp to see whether they are aware of it and either have a solution or have filed a bug with Mozilla themselves.

more options

Sorry, the length from Mozilla is: 946241. Still... it is way off.

I will do what you say re: posting this as an issue with Blueimp.

I have posted it here: https://groups.google.com/forum/#!topic/jquery-fileupload/8ufWGnX3MSA

由 kyle.grovers 於 修改