Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Sling Eclipse IDE 1.0.2
-
None
Description
Consider a node serialized as
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" org.apache.sling.commons.log.file="logs/missing.log" org.apache.sling.commons.log.level="info" org.apache.sling.commons.log.names="[org.apache.sling.missing]" org.apache.sling.commons.log.pattern="\{0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}] {3} {5}"/>
The value of the org.apache.sling.commons.log.pattern escapes the leading brace since it would be interpreted as a property hint. However, we don't unescape it when writing to the repo so the leading backslash is also sent, which is incorrect.