Hey all,

I took a look at ROL-1386 and created a patch that changes the behavior of the string rules matching. Instead of a simple indexoOf it first attempts to do a case insensitive word boundary match on the term. If a PatternSytnaxException occurs it falls back on a contains test. In my opinion, this is more appropriate than the blacklist string terms inadvertently matching as a substring of a valid term.

http://opensource.atlassian.com/projects/roller/browse/ROL-1386

Sure, there are still ways to get around this but it seems a better "default" and doesn't require the admin to create regex rules for everything.

--
Matthew Montgomery
.Sun Engineering
Sun Microsystems, Inc.

Reply via email to