Thanks, I have installed ufdbGuard and defined it in squid but it doesnt seem to redirect anything to ufdbGuard, following is what I have defined in squid.conf: url_rewrite_program /usr/local/ufdbguard/bin/ufdbgclient url_rewrite_children 64 Please help.. > Date: Thu, 10 Feb 2011 12:36:59 -0200 > From: marcus.kool@xxxxxxxxxxxxxxx > To: squid3@xxxxxxxxxxxxx > CC: squid-users@xxxxxxxxxxxxxxx; zartash@xxxxxxxxxxx > Subject: Re: url blocking > > ufdbGuard is a URL filter for Squid that does exactly what Zartash needs. > It transforms codes like %xx to their respective characters and does > URL matching based on the normalised/translated URLs. > It also supports regular expressions, Google Safesearch enforcement and more. > > Marcus > > > Amos Jeffries wrote: > > 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