You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2025/06/11 06:23:00 UTC

[jira] [Created] (JCR-5153) Text.escapeIllegalJcrChars(String) does not escape all illegal JCR characters

Konrad Windszus created JCR-5153:
------------------------------------

             Summary: Text.escapeIllegalJcrChars(String) does not escape all illegal JCR characters
                 Key: JCR-5153
                 URL: https://issues.apache.org/jira/browse/JCR-5153
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-commons
    Affects Versions: 2.23.1
            Reporter: Konrad Windszus


The grammar at https://s.apache.org/jcr-2.0-spec/3_Repository_Model.html#3.2.2%20Local%20Names defines which characters are valid within a local JCR name. However the method {{Text.escapeIllegalJcrChars(String)}} does not properly escape:

# unicode control characters
# values being equal to "." or ".."



--
This message was sent by Atlassian Jira
(v8.20.10#820010)