[squid-users] Exclamation mark (point) doesn't work with url_regex

From: Eriberto <eriberto_at_eriberto.pro.br>
Date: Wed, 16 Jun 2010 11:10:55 -0300

Hi,

I am using Squid 2.7.STABLE7 on Debian Squeeze (testing). I use delay
pools to limit download rates to individual users. But, when using
url_regex with exclamation mark, it doesn't work. It worked fine in
previous versions. An example:

acl geral url_regex -i .* !\.htm !\.html !\.php !\.txt !\.jhtm
!\.shtml !.*.acc\.umu\.se.*

After start a download from *.acc\.umu\.se.*, the cache.log shows:

2010/06/16 09:48:37| aclMatchRegex: match '.*' found in
'http://caesar.acc.umu.se/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/firmware-testing-i386-netinst.iso'

So, the requested URL matched with .* and wasn't excluded by !.*.acc\.umu\.se.*.

Is it a bug?

Thanks in advance.

Regards,

Eriberto - Brazil
Received on Wed Jun 16 2010 - 14:11:03 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 17 2010 - 12:00:03 MDT