SEC-333: Error in last commit, should default to regexp processor, not Ant Path processor, in the case of empty or null strings.

This commit is contained in:
Ben Alex 2006-11-14 21:52:51 +00:00
parent 780130d0f3
commit 4d166a6867
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class FilterInvocationDefinitionSourceEditor extends PropertyEditorSuppor
if ((s == null) || "".equals(s)) {
// Leave target object empty
source.setDecorated(new PathBasedFilterInvocationDefinitionMap());
source.setDecorated(new RegExpBasedFilterInvocationDefinitionMap());
} else {
// Check if we need to override the default definition map
if (s.lastIndexOf(DIRECTIVE_PATTERN_TYPE_APACHE_ANT) != -1) {