[jboss-jira] [JBoss JIRA] (JBEE-247) URLPatternSpec.setURLPatternArray invalidates two prefix patterns that have a common prefix

Darran Lofthouse (Jira) issues at jboss.org
Fri Oct 18 05:48:00 EDT 2019


    [ https://issues.jboss.org/browse/JBEE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801386#comment-13801386 ] 

Darran Lofthouse commented on JBEE-247:
---------------------------------------

The code change being applied is in relation to the following constraint described in the Javadoc: -

{noformat}
     * <li>this pattern is a path-prefix pattern (that is, it starts with "/" and ends with "/*") and the argument pattern
     * starts with the substring of this pattern, minus its last 2 characters, and the next character of the argument
     * pattern, if there is one, is "/", or
{noformat}

https://github.com/jboss/jboss-jakarta-jacc-api_spec/blob/master/api/src/main/java/javax/security/jacc/URLPattern.java#L111

> URLPatternSpec.setURLPatternArray invalidates two prefix patterns that have a common prefix
> -------------------------------------------------------------------------------------------
>
>                 Key: JBEE-247
>                 URL: https://issues.jboss.org/browse/JBEE-247
>             Project: JBoss Enterprise Spec APIs
>          Issue Type: Bug
>          Components: jboss-jacc-api
>            Reporter: Darran Lofthouse
>            Assignee: Flavia Rainone
>            Priority: Critical
>             Fix For: jboss-jakarta-jacc-api_spec-2.0.1.Final
>
>




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list