From 34d716082a0136056373f3d0c6ed7abce45484b3 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 9 Sep 2023 00:36:26 +0200 Subject: http: Insert name into http_post_file Whereas slcl, the project where slweb started, ignored this field, some applications might require it. --- http.c | 1 + 1 file changed, 1 insertion(+) (limited to 'http.c') diff --git a/http.c b/http.c index e239972..9274ccb 100644 --- a/http.c +++ b/http.c @@ -1488,6 +1488,7 @@ static int apply_from_file(struct http_ctx *const h, struct form *const f) *pf = (const struct http_post_file) { + .name = f->name, .tmpname = f->tmpname, .filename = f->filename }; -- cgit v1.2.3