[ https://issues.apache.org/jira/browse/WW-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3737: ------------------------------ Description: See {{buildExcludedPatternsList()}} in [http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/InitOperations.java] It simply splits on commas, making it impossible to write regex like {{"/products/[0-9]\{1,10}.json"}} as this will be split in two. Please supply a way to escape commas by sticking a \ in front or something like that. was: See {{buildExcludedPatternsList()}} in [http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/InitOperations.java] It simply splits on commas, making it impossible to write regex like {{"/products/[0-9]{1,10}.json"}} as this will be split in two. Please supply a way to escape commas by sticking a \ in front or something like that. > Parsing of excludePattern breaks regex > --------------------------------------- > > Key: WW-3737 > URL: https://issues.apache.org/jira/browse/WW-3737 > Project: Struts 2 > Issue Type: Bug > Components: Dispatch Filter > Reporter: Erlend Oftedal > Priority: Major > Fix For: 6.1.0 > > > See {{buildExcludedPatternsList()}} in > [http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ng/InitOperations.java] > It simply splits on commas, making it impossible to write regex like > {{"/products/[0-9]\{1,10}.json"}} as this will be split in two. > Please supply a way to escape commas by sticking a \ in front or something > like that. -- This message was sent by Atlassian Jira (v8.20.10#820010)