From: <dot...@us...> - 2013-02-16 15:12:19
|
Revision: 6930 http://ipcop.svn.sourceforge.net/ipcop/?rev=6930&view=rev Author: dotzball Date: 2013-02-16 15:12:12 +0000 (Sat, 16 Feb 2013) Log Message: ----------- Rename safesearch rewrite rule. Modified Paths: -------------- ipcop/trunk/html/cgi-bin/urlfilter.cgi Modified: ipcop/trunk/html/cgi-bin/urlfilter.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/urlfilter.cgi 2013-02-16 14:55:21 UTC (rev 6929) +++ ipcop/trunk/html/cgi-bin/urlfilter.cgi 2013-02-16 15:12:12 UTC (rev 6930) @@ -3005,7 +3005,7 @@ END ; if ($filtersettings{'ENABLE_SAFESEARCH'} eq 'on') { - print FILE "rewrite rew-rule-1 {\n"; + print FILE "rewrite rew-rule-safesearch {\n"; print FILE " # rewrite safesearch\n"; print FILE " s@(.*\\Wgoogle\\.\\w+/(webhp|search|imghp|images|grphp|groups|frghp|froogle)\\?)(.*)(\\bsafe=\\w+)(.*)\@\\1\\3safe=strict\\5\@i\n"; print FILE " s@(.*\\Wgoogle\\.\\w+/(webhp|search|imghp|images|grphp|groups|frghp|froogle)\\?)(.*)\@\\1safe=strict\\\&\\3\@i\n"; @@ -3315,7 +3315,7 @@ } } if ($filtersettings{'ENABLE_SAFESEARCH'} eq 'on') { - print FILE " rewrite rew-rule-1\n"; + print FILE " rewrite rew-rule-safesearch\n"; } print FILE " redirect $redirect\n"; print FILE " }\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |