From 474c3ef9052fcef02c13065d69190724847c48b9 Mon Sep 17 00:00:00 2001 From: hno <> Date: Tue, 7 Nov 2006 10:00:52 +0000 Subject: [PATCH] Remove extra newline in redirect message sent by deny_info http://... aclname --- src/errorpage.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3