]> 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 22:49:52 +0000 (11:49 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Dec 2008 22:49:52 +0000 (11:49 +1300)
Bug 2545: Segmentation fault when squid with icap server use a cache peer.

src/icmp/net_db.cc

index 12928a8e1c2f9caf4c823712c9c55eebb5e91c90..301ed4881a38dfb9b879cb73db52ced97dc3108f 100644 (file)
@@ -1341,6 +1341,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