[
https://issues.apache.org/jira/browse/SLING-11427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17560684#comment-17560684
]
Andreas Schaefer commented on SLING-11427:
------------------------------------------
I created a simple 'fix' for that on this PR:
https://github.com/apache/sling-org-apache-sling-repoinit-parser/pull/24
> Registering a Namespace does not allow Hashtag in the URI
> ---------------------------------------------------------
>
> Key: SLING-11427
> URL: https://issues.apache.org/jira/browse/SLING-11427
> Project: Sling
> Issue Type: Bug
> Components: Repoinit
> Affects Versions: Repoinit Parser 1.6.4
> Reporter: Andreas Schaefer
> Priority: Major
> Fix For: Repoinit Parser 1.6.16
>
>
> Registering a Namespace in the repoinit fails when the URI contains a hashtag:
> Example:
> register namespace (stDim) [http://ns.adobe.com/xap/1.0/sType/Dimensions#]
> This should work or support an escape of the hashtag (<backslash>#):
> register namespace (stDim)
> [http://ns.adobe.com/xap/1.0/sType/Dimensions\\#|http://ns.adobe.com/xap/1.0/sType/Dimensions#]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)