Titlemake profanity filter read forbidden words from a file
Date10-Oct-2006 13:00:58 EEST
JSPWiki version2.4.68
Submitter213.96.121.208
Idea CategoryFilterIdea
Referencehttp://doc.jspwiki.org/2.4/wiki/ProfanityFilter
Idea StatusNewIdea

Profanity filter should take the forbidden words from a file (e.g. WEB-INF/profanity.txt), rather than taking them from a String[].

I've made a small patch and attached it at http://doc.jspwiki.org, in the ProfanityFilter page. This patch additionally makes the search of forbidden words case unsensitive

The patch is made against CVS 2.4.65, but it should fit for current CVS version too.

Regards,
-- JP

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-5) was last changed on 05-Sep-2008 20:52 by 84.78.34.50