Re: [squid-users] url blocking

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 11 Feb 2011 02:07:39 +1300

On 10/02/11 18:25, Zartash . wrote:
>
> So is there any way to block %?
>

If it actually exists in the URL (not just the browser display version)
using '%' in the pattern will match it. Block with that ACL.

If its encoding something then no, you can't block it directly. It's a
URL wire-level encoding byte.

You could decode the %xx code and figure out what character it is
hiding. Match and block on that.

Or, if you don't care what character its encoding use '.' regex control
to match any single byte.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.11
   Beta testers wanted for 3.2.0.4
Received on Thu Feb 10 2011 - 13:07:50 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 10 2011 - 12:00:02 MST