Fixed parsing error in xs_multipart_form_data().

This commit is contained in:
grunfink
2026-02-23 06:49:12 +01:00
parent 57355092e9
commit 2828f1aa59
+3
View File
@@ -289,6 +289,9 @@ xs_dict *xs_multipart_form_data(const char *payload, int p_size, const char *hea
po = p - payload;
ps = q - p - 2; /* - 2 because the final \r\n */
if (ps <= 0)
break;
/* is it a filename? */
if (fn != NULL) {
/* p_var value is a list */