Skip to content

Commit

Permalink
Merge pull request developerforce#72 from seanpat09/msOfficeFiles
Browse files Browse the repository at this point in the history
removing extra new line that would corrupt ms office file attachments
  • Loading branch information
Pat Patterson committed Oct 7, 2015
2 parents 482d5b7 + f13596c commit 217010d
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 217010d

Please sign in to comment.