Titlemake profanity filter read forbidden words from a file
Date10-Oct-2006 13:00:58 EEST
JSPWiki version2.4.68
Idea CategoryFilterIdea
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.

-- 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