[ https://issues.apache.org/jira/browse/SLING-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Egli resolved SLING-2883. -------------------------------- Resolution: Fixed fixed by filtering for: name.matches("[a-zA-Z0-9._-]+"); > deal with - eg encode - "/" in property names (was: proper encode properties > - and filter anything like jcr:created...) > ----------------------------------------------------------------------------------------------------------------------- > > Key: SLING-2883 > URL: https://issues.apache.org/jira/browse/SLING-2883 > Project: Sling > Issue Type: Bug > Components: Extensions > Affects Versions: Discovery Impl 1.0.0 > Reporter: Stefan Egli > Assignee: Stefan Egli > Priority: Minor > > properties provided by PropertyProviders in discovery.impl are currently > handed 1:1 as name (key) to jcr/repository. This will not work for special > characters. A proper encoding must be implemented. > Similarly, any jcr name including ':' (eg 'jcr:created' etc) must not be > treated as a property and not be made visible to the users of the > discovery.api - the filter done as a hotfix in SLING-2880 is not sufficient. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira