From: hno <> Date: Tue, 1 Jun 2004 05:17:51 +0000 (+0000) Subject: Bug #969: FTP directory listing DOCTYPE misread by certain thirdparty tools X-Git-Tag: SQUID_3_0_PRE4~1091 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c40690f53a04243834a4d092a7f04223c073ab8b;p=thirdparty%2Fsquid.git Bug #969: FTP directory listing DOCTYPE misread by certain thirdparty tools --- diff --git a/src/ftp.cc b/src/ftp.cc index 8b1c8d63ff..a2c324f997 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.357 2004/04/04 15:05:13 hno Exp $ + * $Id: ftp.cc,v 1.358 2004/05/31 23:17:51 hno Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -477,10 +477,10 @@ ftpListingStart(FtpStateData * ftpState) int i, j, k; char *title; storeBuffer(e); + storeAppendPrintf(e, "\n"); storeAppendPrintf(e, "\n", version_string); storeAppendPrintf(e, "\n", mkrfc1123(squid_curtime)); - storeAppendPrintf(e, "\n"); storeAppendPrintf(e, "\n"); storeAppendPrintf(e, "FTP Directory: %s\n", html_quote(ftpState->title_url.buf()));