Try to encode map keys for value map implementations
----------------------------------------------------
Key: SLING-1077
URL: https://issues.apache.org/jira/browse/SLING-1077
Project: Sling
Issue Type: Improvement
Components: JCR Resource
Affects Versions: JCR Webdav 2.0.4
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: JCR Resource 2.0.6
The current value map implementations (JcrPropertyMap and
JrModifiablePropertyMap) try to directly use the provided map key as a property
name. If the name contains illegal characters (for a JCR) then setting/getting
these properties fails.
Therefore an encoding should be used to avoid these cases.
We'll use the ISO9075 encoding as a start. Adding this encoding should be
compatible to the current implementation as it just adds new use cases.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.