You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Schaefer (Jira)" <ji...@apache.org> on 2022/06/29 17:25:00 UTC

[jira] [Updated] (SLING-11427) Registering a Namespace does not allow Hashtag in the URI

     [ 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\#

 


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