commit 7336a8e
default
·
2022-12-10 13:49:26 +0000 UTC
parent 1de96f2
Updated RELEASE_NOTES.
2 files changed,
+6,
-1
+4,
-0
1@@ -1,5 +1,9 @@
2 # Release Notes
3
4+## 2.15
5+
6+Fixed bug in message posting that may result in 400 Bad Request errors (contributed by tobyjaffey).
7+
8 ## 2.14
9
10 Previous posts in the public and private timelines can be reached by a "More..." post at the end (contributed by kensanata).
+2,
-1
1@@ -74,7 +74,6 @@ void *memmem(const void *, size_t, const void *, size_t);
2 d_char *_xs_multipart_form_data(char *payload, int p_size, char *header)
3 /* parses a multipart/form-data payload */
4 {
5- d_char *p_vars = xs_dict_new();
6 xs *boundary = NULL;
7 int offset = 0;
8 int bsz;
9@@ -92,6 +91,8 @@ d_char *_xs_multipart_form_data(char *payload, int p_size, char *header)
10
11 bsz = strlen(boundary);
12
13+ d_char *p_vars = xs_dict_new();
14+
15 /* iterate searching the boundaries */
16 while ((p = memmem(payload + offset, p_size - offset, boundary, bsz)) != NULL) {
17 xs *s1 = NULL;