]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed default FTP port from logged Request URIs on certain errors.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 8 Jan 2014 00:20:46 +0000 (17:20 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 8 Jan 2014 00:20:46 +0000 (17:20 -0700)
src/client_side.cc

index ee411dfe6daabaa5b220660c9985356d1d0f2352..cec292b04c8d8d698ba30ed7134013fc84f0605a 100644 (file)
@@ -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 =