[squid-users] Squid 3.2.0.18 vs 2.7 - apostrophe in access.log - who must escape the client or Squid ?

From: Bartel Viljoen <bartel_at_ncc.co.za>
Date: Thu, 12 Jul 2012 10:53:55 +0200

Dear squid users.

When using a client like FF/IE against Squid v3.2 and v2.7 with default logformat Squid always escape the apostrophes in the URL with %27 in the access.log

When using a client like LINKS against Squid v3.2 and v2.7 with default logformat Squid only escape the apostrophes in the URL with %27 in the access.log with v2.7 and not with v3.2

I assume clients like FF/IE escape the URL before passing it to Squid ?

Is this a possible bug in Squid v3.2 since Squid 2.7 does the proper escaping before logging it to access.log.

The reason I'm asking is, I have a daemon as logger and now need to escape the URL value in the daemon since Squid v3.2.

Who must escape the URL the client or Squid ?

Regards

Bartel Viljoen
e-mail : bartel_at_ncc.co.za
phone : 086 155 5444
fax : 051 448 1214
web: www.ncc.co.za

Disclaimer added by CodeTwo Exchange Rules 2007
http://www.codetwo.com
Received on Thu Jul 12 2012 - 08:55:58 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 13 2012 - 12:00:02 MDT