From: Alex Rousskov Date: Wed, 8 Jan 2014 00:20:46 +0000 (-0700) Subject: Removed default FTP port from logged Request URIs on certain errors. X-Git-Tag: SQUID_3_5_0_1~117^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c1c57bdf18e10f502d4ba8f2cdb266c9963bc23;p=thirdparty%2Fsquid.git Removed default FTP port from logged Request URIs on certain errors. --- diff --git a/src/client_side.cc b/src/client_side.cc index ee411dfe6d..cec292b04c 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -6201,7 +6201,7 @@ FtpSetReply(ClientSocketContext *context, const int code, const char *msg) header.putStr(HDR_FTP_REASON, msg); reply->hdrCacheInit(); - setLogUri(http, http->uri); + setLogUri(http, urlCanonicalClean(http->request)); clientStreamNode *const node = context->getClientReplyContext(); clientReplyContext *const repContext =