mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Fix SQL Connection String (#1584)
* Update SQL connection string storage method * Revert Docker Compose template * Revert Docker Compose Builder version back to 3
This commit is contained in:
@ -75,7 +75,7 @@ namespace Bit.Setup
|
||||
_globalOverrideValues = new Dictionary<string, string>
|
||||
{
|
||||
["globalSettings__baseServiceUri__vault"] = _context.Config.Url,
|
||||
["globalSettings__sqlServer__connectionString"] = $"'{dbConnectionString}'",
|
||||
["globalSettings__sqlServer__connectionString"] = $"\"{dbConnectionString.Replace("\"", "\\\"")}\"",
|
||||
["globalSettings__identityServer__certificatePassword"] = _context.Install?.IdentityCertPassword,
|
||||
["globalSettings__internalIdentityKey"] = _context.Stub ? "RANDOM_IDENTITY_KEY" :
|
||||
Helpers.SecureRandomString(64, alpha: true, numeric: true),
|
||||
@ -142,7 +142,7 @@ namespace Bit.Setup
|
||||
}
|
||||
else
|
||||
{
|
||||
_values.Add(lineParts[0], value);
|
||||
_values.Add(lineParts[0], value.Replace("\\\"", "\""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user