-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.10-HF13
-
Component/s: Core MongoDB
-
Release Notes Summary:Escape string options for MongoDB connection
-
Tags:
-
Sprint:nxcore 9.3.5
-
Story Points:1
Nuxeo Cloud is using Mongo Atlas. Mongo provides a connection string with important options separated with a "&".
The example in nuxeo.conf
nuxeo.mongodb.server=mongodb://nuxeo:<PASSWORD>@opstest1-shard-00-00-aluag.mongodb.net:27017,opstest1-shard-00-01-aluag.mongodb.net:27017,opstest1-shard-00-02-aluag.mongodb.net:27017/nuxeo?ssl=true&replicaSet=OpsTest1-shard-0&authSource=admin
the connection string is properly escaped in ../nxserver/config/default-repository-config.xml
but not in ../nxserver/config/mongodb-directories-config.xml
This prevents the server from starting properly
Can we get the same escaping in ../nxserver/config/mongodb-directories-config.xml and any other file that uses the connection string.