You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2025/05/22 12:02:00 UTC
[jira] [Reopened] (OAK-11683) Prevent registration of invalid namespace URIs
[ https://issues.apache.org/jira/browse/OAK-11683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke reopened OAK-11683:
----------------------------------
> Prevent registration of invalid namespace URIs
> ----------------------------------------------
>
> Key: OAK-11683
> URL: https://issues.apache.org/jira/browse/OAK-11683
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 1.82.0
>
>
> In OAK-10304 additional logging was added whenever {{NamespaceRegistry.registerNamespace(...)}} was called with an invalid URI. However registering such invalid mapping was still supported and was leading to subtle issues whenever the expanded name form was used as JCR method argument (OAK-9584).
> To prevent this violation of the JCR spec (i.e. only supporting using qualified node names for illegal namespace URIs) I would opt for explicitly throwing an exception whenever an invalid URI is registered as namespace.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)