> Filter configs cannot contain commas in INI format > -------------------------------------------------- > > Key: SHIRO-205 > URL: https://issues.apache.org/jira/browse/SHIRO-205 > Project: Shiro > Issue Type: Bug > Components: Configuration > Affects Versions: 1.0.0 > Reporter: Peter Ledbrook > Assignee: Peter Ledbrook > Fix For: 1.1.0 > > > Consider this configuration: > > [urls] > /test/** = roles[guest, admin] > > The above won't work at the moment because PathMatchingFilter splits the > right-hand value into 'roles[guest' and 'admin]'. Commas inside square > brackets should be ignored when splitting the path value.
My proposed fix involves specifying '[' as the starting quote and ']' as the end quote when using Shiro's split() method. One side-effect of this approach is that " is no longer considered a quote character. Is that OK? Do quote characters have any special meaning in filter chain definitions? Thanks, Peter
