[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] censoring vulgar/curse words from form input



Hi all,

Does anyone know if a freely available text file exists containing 
words to be censored from form input?  And if so, where I could get 
it?

I'm writing a cgi that takes user input from a form and I need to 
filter vulgar words from the user's input.

I already have a nice little subroutine that takes the user's 
requested username and checks if it contains any words that are in a 
small text file called 'badwords.txt' - this test file only has 5 
entries right now.  What I'm trying to avoid is creating a large file 
from scratch, why reinvent the wheel.

I've searched the net - but obviously a search for 'vulgar', 'bad', 
'obscene', 'naughty', etc. will bring up many sites that, while they 
may give me ideas of items to add to the list, won't actually help me 
get my work done (in the literal meaning...).  And searches for 
'filter', 'dirty word list', etc. also haven't brought up anything 
useful.

Any ideas will be appreciated.

--
Ryan

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org