#
-# $Id: cf.data.pre,v 1.130 1998/12/11 20:06:50 wessels Exp $
+# $Id: cf.data.pre,v 1.131 1998/12/15 17:34:00 wessels Exp $
#
#
# SQUID Internet Object Cache http://squid.nlanr.net/Squid/
prefer_direct on
DOC_END
+NAME: strip_query_terms
+TYPE: onoff
+LOC: Config.onoff.strip_query_terms
+DEFAULT: on
+DOC_START
+ By default, Squid strips query terms from requested URLs before
+ logging. This protects your user's privacy.
+strip_query_terms on
+DOC_END
+
EOF
/*
- * $Id: structs.h,v 1.253 1998/12/11 20:06:52 wessels Exp $
+ * $Id: structs.h,v 1.254 1998/12/15 17:33:58 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
int redir_rewrites_host;
int persistent_client_posts;
int prefer_direct;
+ int strip_query_terms;
} onoff;
acl *aclList;
struct {
/*
- * $Id: url.cc,v 1.110 1998/12/09 04:16:48 wessels Exp $
+ * $Id: url.cc,v 1.111 1998/12/15 17:33:59 wessels Exp $
*
* DEBUG: section 23 URL Parsing
* AUTHOR: Duane Wessels
/*
* strip arguments AFTER a question-mark
*/
- if ((t = strchr(buf, '?')))
- *(++t) = '\0';
+ if (Config.onoff.strip_query_terms)
+ if ((t = strchr(buf, '?')))
+ *(++t) = '\0';
break;
}
}