From: hno <> Date: Tue, 7 Nov 2006 10:00:52 +0000 (+0000) Subject: Remove extra newline in redirect message sent by deny_info http://... aclname X-Git-Tag: SQUID_3_0_PRE6~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=474c3ef9052fcef02c13065d69190724847c48b9;p=thirdparty%2Fsquid.git Remove extra newline in redirect message sent by deny_info http://... aclname --- diff --git a/src/errorpage.cc b/src/errorpage.cc index e69efabea5..3eb3506d58 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.219 2006/09/19 07:56:57 adrian Exp $ + * $Id: errorpage.cc,v 1.220 2006/11/07 03:00:52 hno Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -873,7 +873,7 @@ errorBuildReply(ErrorState * err) httpHeaderPutStrf(&rep->header, HDR_LOCATION, name, quoted_url); } - httpHeaderPutStrf(&rep->header, HDR_X_SQUID_ERROR, "%d %s\n", err->httpStatus, "Access Denied"); + httpHeaderPutStrf(&rep->header, HDR_X_SQUID_ERROR, "%d %s", err->httpStatus, "Access Denied"); } else { MemBuf *content = errorBuildContent(err); rep->setHeaders(version, err->httpStatus, NULL, "text/html", content->contentSize(), 0, squid_curtime);