We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d102b commit db917c8Copy full SHA for db917c8
plugins-server/cloud9.fs/fs/file.js
@@ -29,7 +29,7 @@ require("util").inherits(jsDAV_FS_File, jsDAV_FS_Node);
29
var path = this.path;
30
// is it a chunked upload?
31
var size = handler.httpRequest.headers["x-file-size"];
32
- if (size) {
+ if (size && size !== "undefined") {
33
var parts = Util.splitPath(this.path);
34
if (!handler.httpRequest.headers["x-file-name"])
35
handler.httpRequest.headers["x-file-name"] = parts[1];
0 commit comments