We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

All Replies (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?

Modified by 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

Modified by kyle.grovers