FINERACT-2326: Improve command query param regexp to allow hyphens

This commit is contained in:
Adam Saghy
2025-08-15 13:03:39 +02:00
parent 1e1787399a
commit bd89952e5c
@@ -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'.