[ 
https://issues.apache.org/jira/browse/JCRVLT-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948321#comment-16948321
 ] 

Konrad Windszus commented on JCRVLT-368:
----------------------------------------

PR: 
https://github.com/apache/jackrabbit-filevault/pull/60/commits/7bf307677afe2479e04720f363ecd2ce189edc71

> DefaultWorkspaceFilter.readFilter(Element) might throw 
> j.u.r.PatternSyntaxException
> -----------------------------------------------------------------------------------
>
>                 Key: JCRVLT-368
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-368
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: 3.4.2
>
>
> The {{DefaultWorkspaceFilter.readFilter(Element)}} 
> (https://github.com/apache/jackrabbit-filevault/blob/c6a8b816a31f3347113b8a8d4eac281faf0a6d5b/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultWorkspaceFilter.java#L438)
>  might throw {{java.util.regex.PatternSyntaxException}} in case of an invalid 
> regular expression (e.g. for {{[}}). Instead a {{ConfigurationException}} 
> should be thrown in that case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to