RE: [squid-users] incomplete Request URL field in access.log

From: Rick Matthews <k5wls@dont-contact.us>
Date: Tue, 1 Jul 2003 07:54:52 -0500

Try strip_query_terms off.

> -----Original Message-----
> From: 4bzbt bzbt [mailto:bzbt@hotmail.com]
> Sent: Tuesday, July 01, 2003 4:34 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] incomplete Request URL field in access.log
>
>
> The correct Request URL in my apache's access.log is like
> http://xx.xx.xx.xx/pub/disp/Column?columnID=
> http://xx.xx.xx.xx/pub/disp/Article?ArticleID=
> But my Squid which cache the apache just log
> http://xx.xx.xx.xx/pub/disp/Column?
> http://xx.xx.xx.xx/pub/disp/Article?
> And I find the following source code in src/access_log.c
>
> /*
> * We escape: \x00-\x1F"#%;<>?{}|\\\\^~`\[\]\x7F-\xFF
> * which is the default escape list for the CPAN Perl5 URI module
> * modulo the inclusion of space (x40) to make the raw logs a bit
> * more readable.
> */
> ...
> if (c <= 0x1F
> || c >= 0x7F
> #if OLD_LOG_MIME
> || c == '"'
> || c == '#'
> || c == '%'
> || c == ';'
> || c == '<'
> || c == '>'
> || c == '?'
> || c == '{'
> || c == '}'
> || c == '|'
> || c == '\'
> || c == '^'
> || c == '~'
> || c == '`'
> #endif
> || c == '['
> || c == ']') {
> ...
>
> How can I disable the "?" from escape LIST?
> or any other way can solve the incomplete log?
> the squid version is squid-2.5.STABLE3.
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
Received on Tue Jul 01 2003 - 06:54:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:47 MST