- Fixed a bug that allow '?' parts of urls to be recorded in store.log.
Logged urls are now "clean".
Future/Current Changes to squid-1.2.beta16 (Feb 23, 1998):
+ - Removed unused urlClean() function from url.c.
+
+ - Fixed a bug that allow '?' parts of urls to be recorded in
+ store.log. Logged urls are now "clean".
+
- Cache Manager got new Web interface (cachemgr.cgi). New .cgi script
forwards basic authentication from browser to squid. Authentication
info is encoded within all dynamically generated pages so you do not
/*
- * $Id: client_side.cc,v 1.212 1998/02/21 00:56:50 rousskov Exp $
+ * $Id: client_side.cc,v 1.213 1998/02/23 23:47:21 rousskov Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
mem = entry->mem_obj;
if (http->out.size || http->log_type) {
http->al.icp.opcode = 0;
- http->al.url = http->uri;
+ http->al.url = http->log_uri;
+ debug(33, 9) ("httpRequestFree: al.url='%s'\n", http->al.url);
if (mem) {
http->al.http.code = mem->reply->sline.status;
http->al.http.content_type = httpReplyContentType(mem->reply);
extern int matchDomainName(const char *d, const char *h);
extern int urlCheckRequest(const request_t *);
extern int urlDefaultPort(protocol_t p);
-extern char *urlClean(char *);
extern char *urlCanonicalClean(const request_t *);
extern void useragentOpenLog(void);
/*
- * $Id: url.cc,v 1.77 1998/02/20 18:47:06 wessels Exp $
+ * $Id: url.cc,v 1.78 1998/02/23 23:47:23 rousskov Exp $
*
* DEBUG: section 23 URL Parsing
* AUTHOR: Duane Wessels
return buf;
}
-char *
-urlClean(char *dirty)
-{
- char *clean;
- request_t *r = urlParse(METHOD_GET, dirty);
- if (r == NULL)
- return dirty;
- clean = urlCanonicalClean(r);
- memFree(MEM_REQUEST_T, r);
- return clean;
-}
-
-
request_t *
requestLink(request_t * request)
{