You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the json returned from relay.php formats floating point numbers
incorrectly, therefore the json became invalid.
0.10 was formatted as 0,10. Inserting the number_format to correctly format the
numbers solved the problem. Uploading works fine now!
Hopefully this suggestion makes in to the next release!
Changed line 574 in relay.php:
jsonAdd("\"percent\": ".number_format($percent,2,'.','').", \"size\":
\"".number_format($size,2,'.','')."\",\"percentSec\":
".number_format($percentSec,2,'.','').", \"speed\":
\"".number_format($speed,2,'.','')."\", \"secondsLeft\":
\"".number_format($secondsLeft,2,'.','')."\", \"done\": \"$done\"");
Original issue reported on code.google.com by [email protected] on 11 Oct 2012 at 8:24
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 11 Oct 2012 at 8:24The text was updated successfully, but these errors were encountered: