mephisto comment regex filter


I finally got annoyed enough at the spammer posting comments on this blog to do something about it. The spammer was consistently posting comments with ^t\d+t$ in some part of the form. Normally I don't actually get bothered by this, as Akismet generally marks those comments as unapproved. In this case, about 1000 got through per day for two days. Each one of those generated an email notifying me of the valid comment. That sucks. So I've created a simple mephisto plugin that prevents the comment from being posted if any field matches a regex. Bugtracking and such are locally hosted in the usual spot. You can install or just get the code from svn://hasno.info/mephisto/plugins//mephisto_comment_regex/ or http://svn.hasno.info/svn/mephisto/plugins/mephisto_comment_regex/. This has only been tested with edge mephisto, ymmv with anything else.

Just in case someone wants to use this and isn't familiar with the rails plugin command line: ./script/plugin install svn://hasno.info/mephisto/plugins//mephisto_comment_regex/