Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Event 2.4.2
-
None
Description
The Utility.filter method is used to filter strings for a subset characters used for creating node names to persist events in the repository. Yet, the list of legal characters includes illegal characters like the brackets "[", "]" and the asterisk "*".
In addition the implementation is suboptimal in that it uses the String.indexOf method to check for legal characters. This can be improved by using a BitSet where the accepted characters are represented by bits turned on.