diff --git a/fineract-core/src/main/java/org/apache/fineract/batch/command/CommandStrategyProvider.java b/fineract-core/src/main/java/org/apache/fineract/batch/command/CommandStrategyProvider.java index 436f0ce30..ccc7d5a10 100644 --- a/fineract-core/src/main/java/org/apache/fineract/batch/command/CommandStrategyProvider.java +++ b/fineract-core/src/main/java/org/apache/fineract/batch/command/CommandStrategyProvider.java @@ -57,7 +57,7 @@ public class CommandStrategyProvider { /** * Regex pattern for specifying any query param that has key = 'command' or not specific anything. */ - private static final String OPTIONAL_COMMAND_PARAM_REGEX = "(\\?command=[\\w]+)?"; + private static final String OPTIONAL_COMMAND_PARAM_REGEX = "(\\?command=[\\w\\-]+)?"; /** * Regex pattern for specifying a mandatory query param that has key = 'command'.