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

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?...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-01-2003
4bzbt bzbt
 
Posts: n/a
Default [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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:00 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0