diff --git a/NEWS b/NEWS index 36ed77bc..60f21102 100644 --- a/NEWS +++ b/NEWS @@ -3,9 +3,9 @@ NEWS ==== -- 1.4.15 - 2007-04-?? +- 1.4.15 - 2007-04-13 - * + * fixed broken Set-Cookie headers - 1.4.14 - 2007-04-13 diff --git a/src/response.c b/src/response.c index 8687ce20..b8775f06 100644 --- a/src/response.c +++ b/src/response.c @@ -66,14 +66,13 @@ int http_response_write_header(server *srv, connection *con) { BUFFER_APPEND_STRING_CONST(b, "\r\n"); buffer_append_string_buffer(b, ds->key); BUFFER_APPEND_STRING_CONST(b, ": "); - +#if 0 /** * the value might contain newlines, encode them with at least one white-space */ buffer_append_string_encoded(b, CONST_BUF_LEN(ds->value), ENCODING_HTTP_HEADER); -#if 0 - log_error_write(srv, __FILE__, __LINE__, "bb", - ds->key, ds->value); +#else + buffer_append_string_buffer(b, ds->value); #endif } }