Comment 3 for bug 316816

Revision history for this message
Brian (brian2004) wrote :

The sed script isn't doing enough. Try this:

/@@.*/d;
/^!.*/d;
/^\[.*\]$/d;
s#http://#^#g;
s,[.?=&/|()[],\\&,g;
s#*#.*#g;
s,\$.*$,,g;

It includes code to escape parenthesis and open square bracket, and it replaces http:// with ^

I don't know if a simple sed script is going to be enough to get the easylist working with SquidGuard.