Title | make profanity filter read forbidden words from a file |
Date | 10-Oct-2006 13:00:58 EEST |
JSPWiki version | 2.4.68 |
Submitter | 213.96.121.208 |
Idea Category | FilterIdea |
Reference | http://doc.jspwiki.org/2.4/wiki/ProfanityFilter![]() |
Idea Status | NewIdea |
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.