You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/01/15 15:42:01 UTC

[jira] [Closed] (JCRVLT-368) DefaultWorkspaceFilter.readFilter(Element) might throw j.u.r.PatternSyntaxException

     [ https://issues.apache.org/jira/browse/JCRVLT-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus closed JCRVLT-368.
----------------------------------

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