From: Greg Ames Date: Mon, 8 Jul 2002 17:36:41 +0000 (+0000) Subject: fix folding when the continuation charater is a blank X-Git-Tag: 2.0.40~302 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc5a1debc7058aa272e6b35d8f7be11cff88fa64;p=apache fix folding when the continuation charater is a blank Reported by: one of Jeff T's regression test cases git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95975 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index b68460955e..9de5372bcb 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -792,7 +792,7 @@ AP_DECLARE(void) ap_get_mime_headers_core(request_rec *r, apr_bucket_brigade *bb } if (last_field != NULL) { - if ((len > 0) && (*field == '\t')) { + if ((len > 0) && ((*field == '\t') || *field == ' ')) { /* This line is a continuation of the preceding line(s), * so append it to the line that we've set aside. * Note: this uses a power-of-two allocator to avoid