Return-Path: Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: (qmail 71975 invoked from network); 25 Oct 2010 18:30:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Oct 2010 18:30:45 -0000 Received: (qmail 10592 invoked by uid 500); 25 Oct 2010 18:30:45 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 10577 invoked by uid 500); 25 Oct 2010 18:30:45 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 10569 invoked by uid 99); 25 Oct 2010 18:30:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 18:30:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 18:30:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9PIULsW021969 for ; Mon, 25 Oct 2010 18:30:21 GMT Message-ID: <4955316.63961288031421410.JavaMail.jira@thor> Date: Mon, 25 Oct 2010 14:30:21 -0400 (EDT) From: "Les Hazlewood (JIRA)" To: dev@shiro.apache.org Subject: [jira] Commented: (SHIRO-205) Filter configs cannot contain commas in INI format In-Reply-To: <9126969.47691287928219287.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SHIRO-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924668#action_12924668 ] Les Hazlewood commented on SHIRO-205: ------------------------------------- Hi Peter, I think that's a valid solution. But I'm amazed it didn't work already by using quotes inside the brackets. I thought that was documented in http://shiro.apache.org/web.html that you had to quote commas, but it doesn't look like it. Can you try: [urls] /test/** = roles["guest, admin"] and see if that works? > 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.