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

Andreas Schaefer updated SLING-11427:
-------------------------------------
    Description: 
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 (#):

register namespace (stDim) 
[http://ns.adobe.com/xap/1.0/sType/Dimensions\\#|http://ns.adobe.com/xap/1.0/sType/Dimensions#]

 

  was:
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 (\#):

register namespace (stDim) 
[http://ns.adobe.com/xap/1.0/sType/Dimensions\#|http://ns.adobe.com/xap/1.0/sType/Dimensions#]

 


> 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 (#):
> 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)

Reply via email to