From fc5a1debc7058aa272e6b35d8f7be11cff88fa64 Mon Sep 17 00:00:00 2001 From: Greg Ames Date: Mon, 8 Jul 2002 17:36:41 +0000 Subject: [PATCH] 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 --- server/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1