Re: [squid-users] Problem with single quotes

2016-07-28 Thread Eduardo Carneiro
Solved! I changed the rsyslog template option ("sql" to "stdsql"). With the sql option, rsyslog replaces single quotes with a \ before it. With the stdsql option, rsyslog replaces one single quote with two single quotes. This configuration solved my problem. Reference: http://ftp.ics.uci.edu/pub

Re: [squid-users] Problem with single quotes

2016-07-28 Thread Amos Jeffries
On 29/07/2016 2:32 a.m., Eduardo Carneiro wrote: > I'm using rsyslog. > > Then you are going to have to use a custom logformat . With specific quoting mechanism set for the URL code. Like so: %#>ru Amos

Re: [squid-users] Problem with single quotes

2016-07-28 Thread Eduardo Carneiro
I'm using rsyslog. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Problem-with-single-quotes-tp4678699p4678701.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users mailing list squid

Re: [squid-users] Problem with single quotes

2016-07-28 Thread Amos Jeffries
On 29/07/2016 1:05 a.m., Eduardo Carneiro wrote: > Hi everyone! > > I'm using Squid 3.5.19. The logs are being inserted in the postgres > database. In some cases, the URLs have single quotes in them and the > insertion scripting doesn't work. > > For others reasons, I need the "strip_query_terms

[squid-users] Problem with single quotes

2016-07-28 Thread Eduardo Carneiro
Hi everyone! I'm using Squid 3.5.19. The logs are being inserted in the postgres database. In some cases, the URLs have single quotes in them and the insertion scripting doesn't work. For others reasons, I need the "strip_query_terms off" in my squid configuration. It cannot be "on". There is so