Skip to content

Commit

Permalink
[fix] runtime, upload: Missing a conversion to binary of uploaded con…
Browse files Browse the repository at this point in the history
…tent, Credit:Bug reported by Alok Menghrajani <alok () fb com>
  • Loading branch information
BourgerieQuentin committed Oct 4, 2012
1 parent f5b2865 commit 88e8282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/server/bslNet.nodejs
Expand Up @@ -645,7 +645,7 @@ function fold_multipart_cps(multipart, acc, folder, k) {
add_field(res, 'filename', part.file.filename);
add_field(res, 'content', function (cont) {
var res = empty_constructor();
add_field(res, 'content', fs.readFileSync(part.file.path));
add_field(res, 'content', binary_of_buffer(fs.readFileSync(part.file.path)));
return_(cont, res);
});
} else if ('value' in part) {
Expand Down

0 comments on commit 88e8282

Please sign in to comment.