This is a discussion on [squid-users] incomplete Request URL field in access.log within the Squid Users forums, part of the Web Server and Related Forums category; The correct Request URL in my apache's access.log is like http://xx.xx.xx.xx/pub/disp/Column?...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|