Hi,

I'd like to filter porn pics on google.
The idea was to add the tag safe=vss in the GET request.

So I've used rewrite rules.
It works quite fine:

-----
rew srch-engines { [EMAIL PROTECTED]/[EMAIL PROTECTED]/images?safe=vss&@i
}
-----


But then when a user add a 'safe=vss' in the url, for example:
http://images.google.fr/images?safe=no&q=porn&hl=fr&btnG=Recherche+Google
He gets all porn he wants.

So I've add the following rule:
[EMAIL PROTECTED]&[EMAIL PROTECTED]/[EMAIL PROTECTED]

It works fine when the 'safe=no' is put at the start of the GET but if it's after, it won't work.

The only solution I've found is to put the following rules:
s@&safe=[^&]+@&[EMAIL PROTECTED]

It works fine but not only on google ...

So what is the solution ?
The ideal one would be something like:
[EMAIL PROTECTED](.*)safe=[^&[EMAIL PROTECTED]/[EMAIL PROTECTED]
but it doesn't work...


Regards.


-- Cedric Foll Ing�nieur r�seaux et s�curit� Rectorat de Rouen "Algorithms from the NSA are considered a sort of alien technology: they come from a superior race with no explanations." Bruce Schneier

Reply via email to