Re: [SQU] Problems with an url_regex acl (possible bug)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Feb 2001 21:25:48 +0100

I think it is the relaxed use of url_regex. Remember that url_regex
matches any part of the URL (protocol, host name, path, query string,
...), so things like a "3x" or other short strings is not a very good
thing. (3x for example matches strings like 54yuw3xagwr).

--
Henrik Nordstorm
Squid hacker
Federico wrote:
> 
> dear squid users i've one question...
> I'm using squid 2.4pre stable (today snapshot)
> i've made a simple acl (i write the squid.conf section)
> 
> acl porn url_regex "/usr/local/squid/etc/blocked/porn.txt"
> ...
> ...
> ...
> http_access deny porn
> http_access allow all
> ....
> 
> ------------------------------------------------------------
> 
> now the problem is:
> the acl works perfectly but in some strange case i've returned "access denied" also when the url is not in the "porn.txt" I can't realize why.
> I attach the file porn.txt
> and I report an Url with I have this problems
> http://194.243.134.51/newscom.nsf/main/AF215666D2C930CCC1256A00003FCED8?
> 
> Is this a Java script problem ?
> Is this a potentially bug ?
> Or i'm a simple lamer that can't write url_regex acl ?
> _________________________________________________________________________
> la tua email gratuita e per sempre su http://www.freemail.it (anche POP3)
> 
>     ---------------------------------------------------------------
> 
>                              Name: porn.txt
>               Part 1.2       Type: Plain Text (text/plain)
>                          Encoding: base64
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Feb 28 2001 - 13:41:52 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:16 MST