A pretty obscure bug, took me a while to find out what was going on.
Uploading a file with two consecutive plus characters in the filename (like blah++blah.png) fails miserably: the progress seems stuck on 0% but that turns out to be because of a Javascript error. Probably the ++ makes a regex go nuts.