[squid-users] urlpath_regex

Amos Jeffries squid3 at treenet.co.nz
Thu Mar 12 11:42:40 UTC 2015


On 13/03/2015 12:30 a.m., James Harper wrote:
>>
>> I also tried the same thing with http_access and that works as expected -
>> *.psf files are allowed, non *.psf file are denied. I'm thinking bug at the
>> point... I'll do some more testing and see if I can narrow it doen.
>>
> 
> Found it. Really stupid mistake. The documentation shows [-i] for
> case insensitivity, but I hadn't picked up that the [] around the -i
> indicated that it was optional. I had just cut and pasted from
> examples. So the .cab thing was irrelevant - it just happened that
> the .cab files had an "i" in them somewhere.
> 

Ah. That is a bug then. The -i bit is not supposed to be treated as a
pattern.

Thanks.

Amos



More information about the squid-users mailing list