From: William A. Rowe Jr Date: Wed, 28 Jun 2017 02:33:29 +0000 (+0000) Subject: Appears to resolve the issue to permit single-char fieldnames; PR61220 X-Git-Tag: 2.5.0-alpha~326 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31e7ac07d55328bd1d3baaa7893d1097047a37d6;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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");