Also, anyone who has commit rights, please check whether we use a constant
to represent these chracters across the board and also whether we have
properly documented what that means such that this kind of question would
not have been asked in the first place.

I regret that I didn't do this, while I could have, sometime back, :).

Regards,
Senaka.

On Fri, Jan 12, 2018 at 3:43 PM, Senaka Fernando <[email protected]> wrote:

> Hi all,
>
> These characters are a combination of (a) those we cannot use with
> %-encoding (or URL encoding), (b) characters that are not SQL friendly, (c)
> characters that have special meanings in search queries and or similar
> functionality (revison numbers, etc.) within the G-Reg product and (d)
> characters that are used a part of a registry resource path.
>
> HTH.
>
> Thanks,
> Senaka.
>
> On Fri, Jan 12, 2018 at 1:24 PM, Menaka Jayawardena <[email protected]>
> wrote:
>
>> Hi Indunil,
>>
>> There is a set of reserved characters. [1] Those characters have a
>> specific meaning or usage.
>> I think due to that reason those are marked as illegal.
>>
>> Thanks and Regards,
>> Menaka
>>
>> [1] https://en.wikipedia.org/wiki/Percent-encoding
>>
>> On Fri, Jan 12, 2018 at 6:18 PM, Danesh Kuruppu <[email protected]> wrote:
>>
>>> Hi Induil,
>>>
>>> Don't know exact reason for making them as illegal characters. Found
>>> related discussion[1]  relates to this. According to the discussion, the
>>> characters restricted in G-Reg are those that are not allowed by SQL.
>>>
>>> 1. http://wso2-oxygen-tank.10903.n7.nabble.com/Using-the-same-i
>>> nvalid-characters-for-username-rolesnames-and-Registry-resou
>>> rces-td20256.html
>>> 2. https://wso2.org/jira/browse/CARBON-2980
>>>
>>> Thanks
>>> Danesh
>>>
>>> On Fri, Jan 12, 2018 at 5:05 PM, Indunil Upeksha Rathnayake <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> For a registry resource path, we have considered following characters
>>>> as illegal characters (Refer [1]).
>>>>
>>>> *~!@#;%^*()+={}|\\<>\"\',*
>>>>
>>>> Anyone knows why we have considered that as a limitation in registry?
>>>> Appreciate your help on this.
>>>>
>>>> [1] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.ws
>>>> o2.carbon.registry.core/src/main/java/org/wso2/carbon/regist
>>>> ry/core/jdbc/Repository.java#L261
>>>>
>>>>
>>>> Thanks and Regards
>>>> --
>>>> Indunil Upeksha Rathnayake
>>>> Software Engineer | WSO2 Inc
>>>> Email    [email protected]
>>>> Mobile   0772182255
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Danesh Kuruppu*
>>> Senior Software Engineer | WSO2
>>>
>>> Email: [email protected]
>>> Mobile: +94 (77) 1690552 <+94%2077%20169%200552>
>>> Web: WSO2 Inc <https://wso2.com/signature>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Menaka Jayawardena*
>> *Software Engineer - WSO2 Inc*
>> *Tel : 071 350 5470*
>> *LinkedIn: https://lk.linkedin.com/in/menakajayawardena
>> <https://lk.linkedin.com/in/menakajayawardena>*
>> *Blog: https://menakamadushanka.wordpress.com/
>> <https://menakamadushanka.wordpress.com/>*
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
> * <http://wso2.com>Senaka Fernando*
> Director - Solutions Architecture; WSO2 Inc.; http://wso2.com
>
>
>
> *Member; Apache Software Foundation; http://apache.org
> <http://apache.org>E-mail: senaka AT wso2.com <http://wso2.com>**P: +44
> 203 318 6025 <+44%2020%203318%206025>;*
>
>
> *M: +44 782 741 1966 <+44%207827%20411966>Linked-In:
> http://linkedin.com/in/senakafernando
> <http://linkedin.com/in/senakafernando>*Lean . Enterprise . Middleware
>



-- 


* <http://wso2.com>Senaka Fernando*
Director - Solutions Architecture; WSO2 Inc.; http://wso2.com



*Member; Apache Software Foundation; http://apache.org
<http://apache.org>E-mail: senaka AT wso2.com <http://wso2.com>**P: +44 203
318 6025;*


*M: +44 782 741 1966Linked-In: http://linkedin.com/in/senakafernando
<http://linkedin.com/in/senakafernando>*Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to