]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1203: Icons are broken in non-anonymous FTP when using the short_icon_urls option
authorserassio <>
Sun, 23 Jan 2005 18:32:42 +0000 (18:32 +0000)
committerserassio <>
Sun, 23 Jan 2005 18:32:42 +0000 (18:32 +0000)
src/client_side.cc

index 1e4b184538e54d99c72f253126db6bf5c53a05f0..b2f78b118bab01edf2ba815c731cc911dd712b2d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.678 2004/12/21 15:03:01 robertc Exp $
+ * $Id: client_side.cc,v 1.679 2005/01/23 11:32:42 serassio Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -2244,8 +2244,10 @@ clientProcessRequest(ConnStateData::Pointer &conn, ClientSocketContext *context,
             }
         }
 
-        if (http->flags.internal)
+        if (http->flags.internal) {
             request->protocol = PROTO_HTTP;
+            request->login[0] = '\0';
+        }
     }
 
     request->flags.internal = http->flags.internal;