Skip to content

Commit 7b290f9

Browse files
committed
Reapply fix made in commit 217010d that prevents file corruption from additional line return characters appended to the file contents.
1 parent d2ed82f commit 7b290f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forcetk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ if (forcetk.Client === undefined) {
301301
+ "Content-Disposition: form-data; name=\"" + payloadField
302302
+ "\"; filename=\"" + filename + "\"\n\n",
303303
payload,
304-
"\n\n"
304+
"\n"
305305
+ "--boundary_" + boundary + "--"
306306
], {type : 'multipart/form-data; boundary=\"boundary_' + boundary + '\"'}),
307307
request = this.getXHR();

0 commit comments

Comments
 (0)