Skip to content

Commit

Permalink
removing extra new line that would corrupt ms office file attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpat09 committed Oct 2, 2015
1 parent f766bb0 commit f13596c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forcetk.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ if (forcetk.Client === undefined) {
+ "Content-Disposition: form-data; name=\"" + payloadField
+ "\"; filename=\"" + filename + "\"\n\n",
payload,
"\n\n"
"\n"
+ "--boundary_" + boundary + "--"
], {type : 'multipart/form-data; boundary=\"boundary_' + boundary + '\"'});

Expand Down

0 comments on commit f13596c

Please sign in to comment.