From: wessels <> Date: Wed, 6 May 1998 05:04:04 +0000 (+0000) Subject: use internalCheck X-Git-Tag: SQUID_3_0_PRE1~3381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c81606ae82a2d3334c8d483a7e32755731e2462;p=thirdparty%2Fsquid.git use internalCheck --- diff --git a/src/client_side.cc b/src/client_side.cc index b3c1abf144..8e2bf5f270 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.298 1998/05/05 03:49:57 wessels Exp $ + * $Id: client_side.cc,v 1.299 1998/05/05 23:04:04 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -1998,7 +1998,7 @@ clientReadRequest(int fd, void *data) break; } if (!http->flags.internal) - if (0 == strNCmp(request->urlpath, "/squid-internal/", 16)) + if (internalCheck(strBuf(request->urlpath))) if (0 == strcasecmp(request->host, getMyHostname())) if (request->port == Config.Port.http->i) http->flags.internal = 1;