Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 217010d

Browse files
author
Pat Patterson
committed
Merge pull request #72 from seanpat09/msOfficeFiles
removing extra new line that would corrupt ms office file attachments
2 parents 482d5b7 + f13596c commit 217010d

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
@@ -286,7 +286,7 @@ if (forcetk.Client === undefined) {
286286
+ "Content-Disposition: form-data; name=\"" + payloadField
287287
+ "\"; filename=\"" + filename + "\"\n\n",
288288
payload,
289-
"\n\n"
289+
"\n"
290290
+ "--boundary_" + boundary + "--"
291291
], {type : 'multipart/form-data; boundary=\"boundary_' + boundary + '\"'});
292292

0 commit comments

Comments
 (0)