Re: [squid-users] url_regex -> to bug or not to bug?

From: Denis Vlasenko <vda@dont-contact.us>
Date: Fri, 3 Jan 2003 12:31:56 +0200

On 3 January 2003 10:18, Schelstraete Bart wrote:
> Hello,
>
> I'm using Squid 2.5, and I have an 'acl' defined in my squid.conf
> to match all url's containing for example the words 'dating.'
> (ending on a '.'!)
>
> This is what I'm using
> #acl blocked url_regex -i dating\.
>
> This acl should match every url containing 'dating.'. But the problem
> is that he also matches -for example-
> 'http://mydomain.com/blabla.php?45435+This+is+not+correct+updating+'
>
> There is no '.' after dating in that url, so it should match
> it.....(but it does) Am I doing something wrong or is this a known
> bug?

Dunno, bug grep does NOT treat \. as a literal dot either. try

$ echo testtest | grep test\.

--
vda
Received on Fri Jan 03 2003 - 04:02:02 MST

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