From 31e7ac07d55328bd1d3baaa7893d1097047a37d6 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 28 Jun 2017 02:33:29 +0000 Subject: [PATCH] Appears to resolve the issue to permit single-char fieldnames; PR61220 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1800111 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocol.c b/server/protocol.c index e659135c211..a165f1f8262 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1111,7 +1111,7 @@ AP_DECLARE(void) ap_get_mime_headers_core(request_rec *r, apr_bucket_brigade *bb return; } - if (tmp_field == last_field) { + if (tmp_field == last_field && !*last_field) { r->status = HTTP_BAD_REQUEST; ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(03453) "Request header field name was empty"); -- 2.47.3