diff options
author | Greg Ames <gregames@apache.org> | 2002-07-08 17:36:41 +0000 |
---|---|---|
committer | Greg Ames <gregames@apache.org> | 2002-07-08 17:36:41 +0000 |
commit | fc5a1debc7058aa272e6b35d8f7be11cff88fa64 (patch) | |
tree | 58c6d8e62233f4681765ff7b91e7cfbdb6db43e7 /server/protocol.c | |
parent | 07f1257cc1544a55fbce24b9814eb1cdb4c7da7d (diff) | |
download | httpd-fc5a1debc7058aa272e6b35d8f7be11cff88fa64.tar.gz |
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
Diffstat (limited to 'server/protocol.c')
-rw-r--r-- | server/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |