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