]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove extra newline in redirect message sent by deny_info http://... aclname
authorhno <>
Tue, 7 Nov 2006 10:00:52 +0000 (10:00 +0000)
committerhno <>
Tue, 7 Nov 2006 10:00:52 +0000 (10:00 +0000)
src/errorpage.cc

index e69efabea542d7b9057d22ef0161197c50a2d2d1..3eb3506d588e1f06cb926f8031badeb0dddafcbf 100644 (file)
@@ -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);