From 4d166a6867736d521f05d97e3f6e16e3a8dcae03 Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Tue, 14 Nov 2006 21:52:51 +0000 Subject: [PATCH] SEC-333: Error in last commit, should default to regexp processor, not Ant Path processor, in the case of empty or null strings. --- .../intercept/web/FilterInvocationDefinitionSourceEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/acegisecurity/intercept/web/FilterInvocationDefinitionSourceEditor.java b/core/src/main/java/org/acegisecurity/intercept/web/FilterInvocationDefinitionSourceEditor.java index 17986dadf7..7e881c2438 100644 --- a/core/src/main/java/org/acegisecurity/intercept/web/FilterInvocationDefinitionSourceEditor.java +++ b/core/src/main/java/org/acegisecurity/intercept/web/FilterInvocationDefinitionSourceEditor.java @@ -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) {