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

Commit f13596c

Browse files
committed
removing extra new line that would corrupt ms office file attachments
1 parent f766bb0 commit f13596c

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)