-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2021.2
-
Component/s: Configuration
-
Release Notes Summary:Backslash are correctly escaped in nuxeo.conf
-
Tags:
-
Backlog priority:750
-
Sprint:nxplatform #71
-
Story Points:2
When defining a variable whose value contains a double-backslash in nuxeo.conf, the variable gets redefined in the END block with a value containing only a single backslash.
How to reproduce:
- unzip a 2021 Nuxeo distribution and install hot fix 2021-HF02
- add the following variable at the beginning of file nuxeo.conf:
nuxeo.var1=\\nuxeo
- execute command nuxeoctl configure
Expected result: the following block is added to the nuxeo.conf file:
### BEGIN - DO NOT EDIT BETWEEN BEGIN AND END ### server.status.key=******** ### END - DO NOT EDIT BETWEEN BEGIN AND END ###
Actual result: the following block is added to the nuxeo.conf file, see the redefinition of variable nuxeo.var with a different value:
### BEGIN - DO NOT EDIT BETWEEN BEGIN AND END ### nuxeo.var1=\nuxeo server.status.key==******** ### END - DO NOT EDIT BETWEEN BEGIN AND END ###
This issue started with hot fix 2021-HF02.
- is related to
-
NXP-31219 Fix configuration of nuxeo.log.dir with nuxeoctl config on Windows
- Resolved