]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Dec 2008 23:25:17 +0000 (12:25 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Dec 2008 23:25:17 +0000 (12:25 +1300)
Bug 2545: Segmentation fault when squid with icap server use a cache peer.

src/net_db.cc

index fb8265501b786cc3079fc50bcaa0770ace601e62..31292950556ae804ef744f5e0e63d8597648c0bc 100644 (file)
@@ -1328,6 +1328,8 @@ netdbExchangeStart(void *data)
     if (p->login)
         xstrncpy(ex->r->login, p->login, MAX_LOGIN_SZ);
 
+    urlCanonical(ex->r);
+
     FwdState::fwdStart(-1, ex->e, ex->r);
 
 #endif