]> granicus.if.org Git - apache/commitdiff
Revert 1800111 for a cleaner logic flow proposed by Yann
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 28 Jun 2017 14:06:24 +0000 (14:06 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 28 Jun 2017 14:06:24 +0000 (14:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1800171 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index a165f1f82625f0f4373fe5ec35a5f2cd9aea29e1..e659135c211b4a5c5f78ff7e1a38517eed925edd 100644 (file)
@@ -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 && !*last_field) {
+                if (tmp_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");