You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Peter Ledbrook (JIRA)" <ji...@apache.org> on 2010/10/24 15:56:21 UTC

[jira] Commented: (SHIRO-205) Filter configs cannot contain commas in INI format

    [ https://issues.apache.org/jira/browse/SHIRO-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924316#action_12924316 ] 

Peter Ledbrook commented on SHIRO-205:
--------------------------------------


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



> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.