Hi Betrand

I was using a org.apache.sling.jcr.repoinit.RepositoryInitializer-test.config 
file which contains the content as:
scripts=[\
"
“\
]

This makes the repo-init a string in itself. Looking at the generated FM from 
the repo-init config file I saw that it does escape the quotes with a triple 
slash \\\”.

I will add a comment to the repository initialization HTML page about it.

- Andy

> On Feb 2, 2021, at 6:21 AM, Bertrand Delacretaz <bdelacre...@apache.org> 
> wrote:
> 
> Hi,
> 
> On Mon, Feb 1, 2021 at 10:59 PM Andreas Schaefer
> <schaef...@me.com.invalid> wrote:
>> 
>> I got around this issue by extracting the setting of the properties into a
>> reference file (repoinit.txt) and there is works as there the quotes can be
>> escaped with a \. ...
> 
> This makes me think that your issue was caused by provisioning or
> feature model parsing, are you using one of those? If yes please
> create a SLING- ticket if you can reproduce.
> 
> I have added a test that confirms that the repoinit parser supports
> curly brackets correctly,
> https://github.com/apache/sling-org-apache-sling-repoinit-parser/commit/5592fe34e3f9b288a31b0b2679bd6caafa77c578
> 
> -Bertrand

Reply via email to