httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1800171 - /httpd/httpd/trunk/server/protocol.c
Date Wed, 28 Jun 2017 14:06:24 GMT
Author: wrowe
Date: Wed Jun 28 14:06:24 2017
New Revision: 1800171

URL: http://svn.apache.org/viewvc?rev=1800171&view=rev
Log:
Revert 1800111 for a cleaner logic flow proposed by Yann

Modified:
    httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=1800171&r1=1800170&r2=1800171&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Wed Jun 28 14:06:24 2017
@@ -1111,7 +1111,7 @@ AP_DECLARE(void) ap_get_mime_headers_cor
                     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");



Mime
View raw message