You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/10/13 13:35:34 UTC
[jira] [Commented] (SLING-4041) Escaped braces at the start of a
property value are not unescaped
[ https://issues.apache.org/jira/browse/SLING-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169201#comment-14169201 ]
Robert Munteanu commented on SLING-4041:
----------------------------------------
Fixed in https://svn.apache.org/viewvc?view=revision&revision=r1631351
> Escaped braces at the start of a property value are not unescaped
> -----------------------------------------------------------------
>
> Key: SLING-4041
> URL: https://issues.apache.org/jira/browse/SLING-4041
> Project: Sling
> Issue Type: Bug
> Components: IDE
> Affects Versions: Sling Eclipse IDE 1.0.2
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Fix For: Sling Eclipse IDE 1.0.4
>
>
> Consider a node serialized as
> {code:xml}
> <?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}"/>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)