kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit f02f88295c7b760f3cdfa11826c16fb997950b0b
parent 4f16a5d272c959bab7542cdc07a781907d194682
Author: Joris Vink <joris@coders.se>
Date:   Fri,  6 Jul 2018 11:21:46 +0200

revert b5e122 for now.

Diffstat:
Msrc/http.c | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/http.c b/src/http.c @@ -1033,17 +1033,12 @@ http_populate_post(struct http_request *req) ssize_t ret; int i, v; struct kore_buf *body; - const char *content; char data[BUFSIZ]; char *args[HTTP_MAX_QUERY_ARGS], *val[3], *string; if (req->method != HTTP_METHOD_POST) return; - if (!http_request_header(req, "content-type", &content) || - strcasecmp(content, "application/x-www-form-urlencoded")) - return; - if (req->http_body != NULL) { body = NULL; req->http_body->offset = req->content_length;