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

From: 4bzbt bzbt <bzbt@dont-contact.us>
Date: Tue, 01 Jul 2003 09:34:19 +0000

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 - 03:34:23 MDT

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