]> granicus.if.org Git - apache/commitdiff
Don't include a '\0' in the header. (I'm still seeing more binary stuff
authorJeff Trawick <trawick@apache.org>
Wed, 1 Nov 2000 18:24:11 +0000 (18:24 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 1 Nov 2000 18:24:11 +0000 (18:24 +0000)
in the header, but one fix at a time...)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86789 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index 61958372a7c67220ef61cbbc3964cfa7c7600365..76667af47624bbef7ada508a3884b0ec779377c8 100644 (file)
@@ -2417,7 +2417,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, ap_bu
     buff = apr_pcalloc(r->pool, len);
     e = ap_bucket_create_pool(buff, len, r->pool);
     ap_basic_http_header(r, buff);
-    buff += strlen(buff) + 1;
+    buff += strlen(buff);
 
     h.r = r;
     h.buf = buff;